diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-10-11 21:59:26 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-10-11 22:00:10 +0200 |
commit | 9b78406eddf9f537cbf8033537efd3fe3b4b5782 (patch) | |
tree | 41ac669e32ab15b00cb17d89e8ba2ed94a2283f7 /www-client | |
parent | www-client/opera-developer: Version bump. (diff) | |
download | gentoo-9b78406eddf9f537cbf8033537efd3fe3b4b5782.tar.gz gentoo-9b78406eddf9f537cbf8033537efd3fe3b4b5782.tar.bz2 gentoo-9b78406eddf9f537cbf8033537efd3fe3b4b5782.zip |
www-client/opera: Version bump.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera/Manifest | 1 | ||||
-rw-r--r-- | www-client/opera/opera-48.0.2685.39.ebuild | 93 |
2 files changed, 94 insertions, 0 deletions
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 1dd4c2ce2f49..2d44ba268f3f 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -4,3 +4,4 @@ DIST opera-12.16-1860.i386.linux.tar.xz 13154668 SHA256 df640656a52b7c714faf25de DIST opera-12.16-1860.x86_64.linux.tar.xz 14018800 SHA256 b3b5cada3829d2b3b0e2da25e9444ce9dff73dc6692586ce72cfd4f6431e639e SHA512 c1289f352ea5fc8133b105771f48fdc56ccd770920330b1a0ed939ff909abc68081447673572eabeb1aae6db5194b6ab35c93afad78a91d8f7a9a0f91e81ef8b WHIRLPOOL 539cdf43b4c8175c664fbf786b27ede1d33e58c44f75229a1a50612951136f526d646f3e0444b6cc69961259c3e3ef7dbf722b520abb4d4dbb98032c4de335d1 DIST opera-stable_48.0.2685.32_amd64.deb 49835700 SHA256 681fc21800bcdea3fefb5f00f2fc5c0817040e1ec5028b59152d7610b2671780 SHA512 923aecf98e6cc33fd2556f74975bb94b1596c2b1f3fb1b4748a13fce358436933080b9fe276475b811f7ff6ca568c99ed866ede1da37235e879d2f9dd0f2971c WHIRLPOOL 76d419776989ea8c768c016ece0a9d764f2d143956745f8d3fab9ef7eae1ce81e86d594cea91e353c50347672d1baf695f418ea110f38357a61e564135f26a93 DIST opera-stable_48.0.2685.35_amd64.deb 50261812 SHA256 3d2599085061a0362505df4fbd7efbe6a28879e0156fd4658739d9cdd27cb119 SHA512 2350fe08f2af8cbcd0e92101e122368f0b154e31eedb8cb632d6e36e2734a1d50e28113c6188d8e2b7a66f920a91a001cf46c46801e0b9ba9746eb9abffe0e90 WHIRLPOOL e7a55810c2065eb7ca5ce58005be2c3999cd9290d6c284060a1af1dc1b1aa474546b707c9cbd162f9aa8308975f29ae31c0b1d7caaee30366b0dde23a556360c +DIST opera-stable_48.0.2685.39_amd64.deb 50196574 SHA256 e5b67f5cd19337edab6dc7e7c2660ff8d5e0fd88c1c255963903530ffb01b51e SHA512 e7a934a45fc0de8214431496766cb14d4b232f15b446c7d97df5088f0d92672c6583932f522b7bc82ffa979146351281a007c68eb2335d4744f2628d08f84832 WHIRLPOOL ef8d7381687e25ba46643ce39fd921e3667c3e6c0a288346caf4dd1f43e9bd98cbbe9fb142e4718cec30afa84c1656b715f6d42916cd92076bbc6ee9e101babd diff --git a/www-client/opera/opera-48.0.2685.39.ebuild b/www-client/opera/opera-48.0.2685.39.ebuild new file mode 100644 index 000000000000..824ffea24a6f --- /dev/null +++ b/www-client/opera/opera-48.0.2685.39.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + be bg bn ca cs da de el en-GB es-419 es fil fi fr-CA fr 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 + +DESCRIPTION="A fast and secure web browser" +HOMEPAGE="http://www.opera.com/" +LICENSE="OPERA-2014" +SLOT="0" +SRC_URI_BASE=" + http://download1.operacdn.com/pub/ + http://download2.operacdn.com/pub/ + http://download3.operacdn.com/pub/ + http://download4.operacdn.com/pub/ +" +for uri in ${SRC_URI_BASE}; do +SRC_URI+=" + "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" +" +done +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+:2 + 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} +OPERA_HOME="usr/$(get_libdir)/${PN}" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + case ${ARCH} in + amd64) + mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die + rm -r usr/lib || die + ;; + esac + + rm usr/bin/${PN} || die + + rm usr/share/doc/${PN}-stable/copyright || die + mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || 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 +} |