commit:     9440c3f00174c6d79d97f1405248588aed59d9b1
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 20 11:56:04 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 11:57:19 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9440c3f0

www-client/opera: Version bump.

Package-Manager: portage-2.3.1

 www-client/opera/Manifest                  |  2 +
 www-client/opera/opera-40.0.2308.54.ebuild | 94 ++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 22189d0..d7901f8 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -6,3 +6,5 @@ DIST opera-stable_39.0.2256.48_amd64.deb 50729246 SHA256 
fdf0278674422a8da9af94e
 DIST opera-stable_39.0.2256.48_i386.deb 52533154 SHA256 
61e7cd5bf45f67baba9a1ff1c0c12a83fba7354fa667bc5a6fc7a29516ef85ab SHA512 
0d23aa1f1e5e0cc6fc735196cf2cca24fcb73c9ef1a2bfe7d0fee9bc2903a3317bb55388218ada89763d3363e85d4356bf9ba915b0a1d0aa0c6a05be53f1a63c
 WHIRLPOOL 
8d077e8ed151c6f5697a280e22d32e0b7aac9348c45da0c6987e975963b6c79bf290ce64793f5eb99fbaa4ea87e4fa033c815c6f69bc48503721faa5d4a3ad8a
 DIST opera-stable_39.0.2256.71_amd64.deb 51339442 SHA256 
1b2a0a5a19befd950b9fbcd6965aa1cade7fa54e5ad9bfcbb59242dc9dbfa3e9 SHA512 
c5521318e2b213dd5dd1e5b2867cf76709574b33b932db36dd33e1fa4b3bf9bbdbd70e3fe180b28ce9540f3abfa0cd63cbc6cd8a758350f2a74ba8abbea84c52
 WHIRLPOOL 
181cc1312c628fd24c74cd6b4dc65eda03b63d88c285434adf74c30f951b145bd19907147cde1f87d9d1f39c9f529cad84c3a621380d9fd004bd10daa98f67a9
 DIST opera-stable_39.0.2256.71_i386.deb 51758624 SHA256 
cca2d3caba9cee4778f1f623842fdd79bd7f375a1ffc02d84c5fd271aa4c3e51 SHA512 
348a193ff88a4592c7ea27814078b01da102d5ca60cfff5a0f63564082d6f4611ee7ed3da694e3c0986a5af33f8b840c4926ce56371d36ce98a8fedd6cdbb085
 WHIRLPOOL 
e42cf2697dedb4a8617f779e0a5904a567cd5a805623cf54fb5a2ca4c18eef2d3e072635ba094dcbafe4f59db1f41072dce7527df7fbe85d384722a985124e8c
+DIST opera-stable_40.0.2308.54_amd64.deb 48014810 SHA256 
1fd680cf078c24073384c5d3bdc3154bf2d925b368deea1547e3b35a236e86ea SHA512 
11bd123a959acf97faf7a1c3c8fbefd4948c341fdbdcc67166da23b20d8ff4f641f951f814dd54363ec6ba31b1957d3657c389eff950c824f8ea22dfa80f65cb
 WHIRLPOOL 
2fe030cd8df7706e9f890fc5bbbef7c3271561bae71ee58d7046ed4bf52f54ed52f792adbc0231360b01f2201a12f19bbecb67cb652c3c3d66138cfa33fabf45
+DIST opera-stable_40.0.2308.54_i386.deb 48400188 SHA256 
ae4b2f428d41182b2b7a8f6b97b3ea1cb807d860faeb85471d181310f1448ddf SHA512 
350348c61d182ad290da4f2a5b1a97dcf01bc0b54bb59f3f4bbf90b8f00cac9e8300f950af32c3eaaae88ebf0ad6b2ddc7cae339f9ab89b8f74bccca04be62f4
 WHIRLPOOL 
9ba1946048e4e27bf967c4b3b92d8426acacff083aeae37956344dc90ea5df8730cbdb4e6c754bff4cfba1dedc7c9c44e98f2fc701fa374d74aad8e5d97b1fce

diff --git a/www-client/opera/opera-40.0.2308.54.ebuild 
b/www-client/opera/opera-40.0.2308.54.ebuild
new file mode 100644
index 00000000..0bbeca1
--- /dev/null
+++ b/www-client/opera/opera-40.0.2308.54.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+CHROMIUM_LANGS="
+       af az be bg bn ca cs da de el en-GB es-419 es fil fi fr-CA fr fy gd he 
hi
+       hr hu id it ja kk ko lt lv mk ms nb nl nn pa pl pt-BR pt-PT ro ru sk sr
+       sr-ME sv sw ta te th tr uk uz vi zh-CN zh-TW zu
+"
+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://get.geo.opera.com/pub/";
+SRC_URI="
+       amd64? ( 
"${SRC_URI_BASE}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" )
+       x86? ( 
"${SRC_URI_BASE}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_i386.deb" )
+"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-libs/expat
+       dev-libs/glib:2
+       dev-libs/nspr
+       dev-libs/nss
+       >=dev-libs/openssl-1.0.1:0
+       gnome-base/gconf:2
+       media-libs/alsa-lib
+       media-libs/fontconfig
+       media-libs/freetype
+       net-misc/curl
+       net-print/cups
+       sys-apps/dbus
+       sys-libs/libcap
+       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
+                       ;;
+               x86)
+                       mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir) || die
+                       rmdir usr/lib/i386-linux-gnu || 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
+}

Reply via email to