mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
www-client/opera-developer: Version 71.0.3756.0
Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
DIST opera-developer_71.0.3735.0_amd64.deb 67521252 BLAKE2B 0e5df62a5e6a816475931457368bb142a3018a8e526d79d18f2c8246c09ef7daab0b76b53adf0389b8d75de8d82527ca1b71371d27c7ab4e8ed2c4f7ed6767dc SHA512 0c0c0a30fdaa6f2567e3c35d22b64b48b4126d11d422c42c89599b29a839d83c71b48dd4e853c90308e3800d787255fa373e86d088ae4cfc80cc5c0e2d91f91e
|
||||
DIST opera-developer_71.0.3742.0_amd64.deb 67574880 BLAKE2B 3b878ba41696858c0600534b89840bfe11443a4e859931434f888a37d1c9e846cf7dd5f43f8c84ea6b1064be7bb53049254935a87418f87f9fdf43bebb6149ae SHA512 b93c0fff4cf3ff8f21685392137a5d1b9a147dd16d0e44874572e3cf1835a858ac4b9dad472661dc1a583cd7e6a1c4b07fb94657187220a24bae9e3cd2b201c5
|
||||
DIST opera-developer_71.0.3749.0_amd64.deb 67691960 BLAKE2B 7f9a5a0a14d2dbc36d3771b101633b5b26b10e48c480ecc03c591e0e92d88772e6e27941183aba14a4e770367fccab8867099ea8473ca3efe3331adabddfde43 SHA512 ec4240f969018dc599f212a191587eeefa730f789eafda61c734a0ecd623d5899887fcfb844c35492fa3bb93e7aa88406d9b45e243e43aaf23bd2c14653fc4ac
|
||||
DIST opera-developer_71.0.3756.0_amd64.deb 67772036 BLAKE2B 367035f5046ff03d87ded6eb0be40ee5398fb149229b4f9584e912c0485979b03ffb6865c27b8ee8b45c04d58f6eff8cb2f730e68ac878394a2542ebc25248fa SHA512 dc9f409bf6104548ed9754e1c1506d8c9cbc48c3a628f0ebf5453a429af210d801ee586afa8f558e2d702ac28b71fe1253408ad97323b964a6a5fc19aee84609
|
||||
|
||||
115
www-client/opera-developer/opera-developer-71.0.3756.0.ebuild
Normal file
115
www-client/opera-developer/opera-developer-71.0.3756.0.ebuild
Normal file
@@ -0,0 +1,115 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
CHROMIUM_LANGS="
|
||||
be bg bn ca cs da de el en-GB es es-419 fi fil fr fr-CA hi hr hu id it
|
||||
ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi
|
||||
zh-CN zh-TW
|
||||
"
|
||||
inherit chromium-2 multilib unpacker xdg-utils
|
||||
|
||||
DESCRIPTION="A fast and secure web browser"
|
||||
HOMEPAGE="https://www.opera.com/"
|
||||
LICENSE="OPERA-2014"
|
||||
SLOT="0"
|
||||
SRC_URI_BASE="
|
||||
https://download1.operacdn.com/pub/
|
||||
https://download2.operacdn.com/pub/
|
||||
https://download3.operacdn.com/pub/
|
||||
https://download4.operacdn.com/pub/
|
||||
"
|
||||
SRC_URI="amd64? ("
|
||||
for uri in ${SRC_URI_BASE}; do
|
||||
SRC_URI+="
|
||||
"${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb"
|
||||
"
|
||||
done
|
||||
SRC_URI+=")"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
gnome-base/gconf:2
|
||||
media-libs/alsa-lib
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
net-misc/curl
|
||||
net-print/cups
|
||||
sys-apps/dbus
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libX11
|
||||
x11-libs/libXScrnSaver
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXcursor
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/libnotify
|
||||
x11-libs/pango[X]
|
||||
"
|
||||
|
||||
QA_PREBUILT="*"
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
unpack_deb ${A}
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
OPERA_HOME="usr/$(get_libdir)/${PN}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
case ${ARCH} in
|
||||
amd64)
|
||||
mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
|
||||
rm -r usr/lib || die
|
||||
;;
|
||||
x86)
|
||||
mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir)/ || die
|
||||
;;
|
||||
esac
|
||||
|
||||
mv usr/share/doc/${PN} usr/share/doc/${PF} || die
|
||||
gunzip usr/share/doc/${PF}/changelog.gz || die
|
||||
|
||||
rm usr/bin/${PN} || die
|
||||
|
||||
pushd "${OPERA_HOME}/localization" > /dev/null || die
|
||||
chromium_remove_language_paks
|
||||
popd > /dev/null || die
|
||||
|
||||
sed -i \
|
||||
-e 's|^TargetEnvironment|X-&|g' \
|
||||
usr/share/applications/${PN}.desktop || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mv * "${D}" || die
|
||||
dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN}
|
||||
fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
xdg_mimeinfo_database_update
|
||||
}
|
||||
Reference in New Issue
Block a user