summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-07-13 18:32:24 +0200
committerJeroen Roovers <jer@gentoo.org>2020-07-13 18:52:48 +0200
commit7b1e670ff00af9a57da2ac7dac8c3c1c1d124dcd (patch)
tree2290d8bfba3dcf1ce5f1d8984d87987ff5137097 /www-client
parentdev-python/pathlib: s390 keyworded (bug #701498) (diff)
downloadgentoo-7b1e670ff00af9a57da2ac7dac8c3c1c1d124dcd.tar.gz
gentoo-7b1e670ff00af9a57da2ac7dac8c3c1c1d124dcd.tar.bz2
gentoo-7b1e670ff00af9a57da2ac7dac8c3c1c1d124dcd.zip
www-client/opera-developer: Version 71.0.3749.0
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera-developer/Manifest1
-rw-r--r--www-client/opera-developer/opera-developer-71.0.3749.0.ebuild115
2 files changed, 116 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest
index 4ed9f8097e0a..d26bcf9f33fa 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/www-client/opera-developer/opera-developer-71.0.3749.0.ebuild b/www-client/opera-developer/opera-developer-71.0.3749.0.ebuild
new file mode 100644
index 000000000000..837674712eae
--- /dev/null
+++ b/www-client/opera-developer/opera-developer-71.0.3749.0.ebuild
@@ -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
+}