commit:     014f2cf0d701a8faa24e665424241049e1dd883f
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 10 16:21:02 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Nov 10 16:23:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=014f2cf0

www-client/opera-beta: Version bump.

Package-Manager: portage-2.3.2

 www-client/opera-beta/Manifest                     |  2 +
 .../opera-beta/opera-beta-42.0.2393.27.ebuild      | 91 ++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest
index c6673e8..4032fbd 100644
--- a/www-client/opera-beta/Manifest
+++ b/www-client/opera-beta/Manifest
@@ -1,2 +1,4 @@
 DIST opera-beta_42.0.2393.14_amd64.deb 49741950 SHA256 
323250eabdea5552886a4a9befaff130c67de700550e466db5c620da733d6f43 SHA512 
5124ca70964a4d7e26db8553a2bcbbe0f5e74a9a27a4fd1b1f61c42e605949ebad04bacd73bc9b7194d1dcb933a8b97ad44088654e2fd51bf74043a2805177ab
 WHIRLPOOL 
896baed571ae4725401eae2b8e56f4040ab5cd272f8a1c3adbaad4433806e4f50dd123130ed60340bca7f7dc2a7a58e7dcce36c98a44c090f38a8e7cc096ae7c
 DIST opera-beta_42.0.2393.14_i386.deb 50290758 SHA256 
52b148c1b33628a9e16db62f2aef798bb8ac93939d919d23d0b9806dede5f28c SHA512 
54a5d71bf642d3a676c6a15fb4d6312611b17b7232bfd90a0b503c7fb0a54d0f55dd7e47f508b5d1b2cff58e2dda33e53d4a410c15c680a27555ebb5a93cd4d0
 WHIRLPOOL 
f0c351ca60e30cd1e48038c0ce0899efd990207cf633e43ff49cf811933f528ea5a03876f1f7f8ba2316cfe99676085c81822a06c8baf0478037dad39689c0fe
+DIST opera-beta_42.0.2393.27_amd64.deb 49570738 SHA256 
7ea59795453b8bd0f4561ec1a4abf60f44cc1896ab109baa44a667009b75410c SHA512 
ac3a02ad2a857ff7778bfb432a54b067783248a34a1219a3d14399b789c429fa7bc8bdb1738c8a52b6b2b8b8945a1dea7231fc60cc7e8e861be4ee93bf816bfe
 WHIRLPOOL 
e6e8e8f5b88cabd2961aa817b3ba538dc92bca50b3ef16eee25ea73ea50e8625e45194fbaae30012e41fd39d1670c5027464f58ef2ccdcc946c54321c9dea224
+DIST opera-beta_42.0.2393.27_i386.deb 50829282 SHA256 
9a2bb6a92c8884de48c27f7eaae748e185684021d5b098759eb13816ecec0895 SHA512 
988dd42996e3e0d3a852f89301904703cb06da0edbf3729555c96035fa77d0e859003199c581c2c3b222efb95ce1a55d7141e784ab72a58ad66aae78d17d473b
 WHIRLPOOL 
b4c41dc734a94e0e2a66121acdabd13c536af19c4b6dd76a57a5f88fef1d09e7c7bc8c4a91a025c22b86137e89a45c43386576b9aab581c7c7a83cbaa965e117

diff --git a/www-client/opera-beta/opera-beta-42.0.2393.27.ebuild 
b/www-client/opera-beta/opera-beta-42.0.2393.27.ebuild
new file mode 100644
index 00000000..ce0045d
--- /dev/null
+++ b/www-client/opera-beta/opera-beta-42.0.2393.27.ebuild
@@ -0,0 +1,91 @@
+# 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}/${PV}/linux/${PN}_${PV}_amd64.deb" )
+       x86?    ( "${SRC_URI_BASE}${PN}/${PV}/linux/${PN}_${PV}_i386.deb" )
+"
+KEYWORDS="~amd64 ~x86"
+
+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
+                       ;;
+               x86)
+                       mv usr/lib/i386-linux-gnu/${PN} usr/$(get_libdir)/ || 
die
+                       ;;
+       esac
+
+       rm usr/bin/${PN} || die
+
+       rm usr/share/doc/${PN}/copyright || die
+       mv usr/share/doc/${PN} 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