summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-08-17 15:14:06 +0200
committerJeroen Roovers <jer@gentoo.org>2020-08-17 15:15:36 +0200
commitd8143f7df2fd8d2d2706f9014bcf6779d1ce701e (patch)
treef7fd8d0c1b86ed0150ee53c0ef5ea54972de0565 /www-client/opera-developer
parentdev-python/vcstools: update homepage link (diff)
downloadgentoo-d8143f7df2fd8d2d2706f9014bcf6779d1ce701e.tar.gz
gentoo-d8143f7df2fd8d2d2706f9014bcf6779d1ce701e.tar.bz2
gentoo-d8143f7df2fd8d2d2706f9014bcf6779d1ce701e.zip
www-client/opera-developer: Version 72.0.3784.0
Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/opera-developer')
-rw-r--r--www-client/opera-developer/Manifest1
-rw-r--r--www-client/opera-developer/opera-developer-72.0.3784.0.ebuild115
2 files changed, 116 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest
index 9bfa988f6040..6e4c350a3eae 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,3 +1,4 @@
DIST opera-developer_71.0.3763.0_amd64.deb 67783224 BLAKE2B 95f28d165f2b52d3dbdd52ce3f312952f1cfb483d96defd38f4b6e51b54f02b5ef45133d97b11b56dd4c6da1b1b9eb3a66cf5dcb84d8f7f661a0169fbb98a069 SHA512 04bd8afb6fd5af08b85197f4c2346e5e42b8699019a8772c9e377107a9c66d4f487b6d2a1895120693f36574a9bab01e882f07da9f1991674529e5344efe5f4e
DIST opera-developer_71.0.3770.0_amd64.deb 67803612 BLAKE2B 8e7e7f0e69494b43cd8b4f1f721cc87871a1c9642be9a059ffc56b922f64331329fc90773bbaba325478906a29ed8dbd3db9c70856a49194701956b4abf82b64 SHA512 45d6b787f33a96fd035c57ae05252438eeff6578950ba88e8363be789c0216812f793ff56e278f70024f01fe8d71a777f6cd46115691c97363f1d5aa4ccb0c63
DIST opera-developer_72.0.3779.0_amd64.deb 68386104 BLAKE2B 090ed3e767b9793245a136e236818be777a681ec1107edf527bb75a67957184a3166c8b87b151753a4a94b7bba1e5b931b9b8605b38960ff5480f2438353e82a SHA512 1a7bbc6ef78124d6614b4914e3d3148c0f80ec5dcf23065065b73fde624be1dce8d07387902a1d1a213db4021393302d125e4c9ebb7950876ddfd16f4cfa99a2
+DIST opera-developer_72.0.3784.0_amd64.deb 69828944 BLAKE2B 5af2375494103280fe3759f9f301e4a4a68c4a81998ebec39bfefc075e7ed205bf0efbaf8b8c33c1fbd3d21f7394215c738b7a8f2c0f8d0b8da9de2809dba2e7 SHA512 07d8bdb915355952f6fc827d7aea8871b70ac45e4cbdd2c3c5801056a9243b3b649aa101dd8c92b2fa8593c2c70585596844540f57964cd9a7ebe96d1a52f92b
diff --git a/www-client/opera-developer/opera-developer-72.0.3784.0.ebuild b/www-client/opera-developer/opera-developer-72.0.3784.0.ebuild
new file mode 100644
index 000000000000..837674712eae
--- /dev/null
+++ b/www-client/opera-developer/opera-developer-72.0.3784.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
+}