commit:     911f6014a69096bd27ceaa4177a4dfa3864e34f7
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 18 18:11:08 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Oct 18 18:11:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=911f6014

www-client/opera: Version bump.

Package-Manager: portage-2.3.2

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

diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 0797ba0..a54ab5d 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -6,3 +6,5 @@ DIST opera-stable_40.0.2308.62_amd64.deb 47169022 SHA256 
61c62a0de6759119d529ac0
 DIST opera-stable_40.0.2308.62_i386.deb 48987444 SHA256 
6e0e5209caab2ad48ec4bcda2ac24addb7c91dbff1013c4a7dd9a01dfa0f8058 SHA512 
f1edec21c701e637ec6148bf8c7022cde1dbafa8a4143b1b9e0dd132f0d8b009ec46336e74e4a353b398864b2dd29e6acde4c07a156e5aeba9fe9c4894f9f610
 WHIRLPOOL 
5fee76e92c7d4c4a1a295ca08f0f4c98ec18b6d7b84f482ce8a6daed5fa4edb21f749216e93fc4c25bb3536a3a031a3441be100232e45d679d3fc91f8ee45bdf
 DIST opera-stable_40.0.2308.81_amd64.deb 48328694 SHA256 
5b983cf137323349037160561166bb5672d07c05f8338969fa4045baa41a3ef9 SHA512 
2a187826511ed4b94d982c303f7ec8ab0136e83300fa6c8b4d5860e13ca2a8f0f4120e879e44a2ee197e8f496ed87993d4e3aa0825b031209db4762186f91677
 WHIRLPOOL 
81750bcdf2461703d9f816837476fe8e38cbb2ee88f64b0ba4db94ed29b7052a79d4eb5c48fba614c6ab42b65f5d2e027be5df792bbdb01be34dfe7ac353c353
 DIST opera-stable_40.0.2308.81_i386.deb 48370330 SHA256 
7c9679480f2bc095b355f83e500d2db6fc65071f5bab8b159e1d13a3e958aebc SHA512 
14d1bb0c3a75a0bcc40acd99e67c7ddff89e39fc1749b7e0950fbb5ffa26a1315fc75cf8b734a206743ba03cb313345161b352e7116dd5be542ab299389b214c
 WHIRLPOOL 
f01093c7e25d5e763e4c867da925d916c17bee1f729855084be211e985be2a59144ece72738e53e9280fa4942c5b6659dd0631f2cdbc6ea0ef7fdd64883b5a50
+DIST opera-stable_40.0.2308.90_amd64.deb 47970692 SHA256 
cf4cc36aef8ce1459b54670d2d92950caceebb6e375be7e53a39ddc8bbfc358a SHA512 
557fecc2a302ec69bc21e3b09380d7094bd1e2a5ce4bf1c53b6f2f61a71ee2c7bb4f86f0d2c01437d13504fe5f8ca22ff86321a5d09b1fd5ea9190ee4dfb2dad
 WHIRLPOOL 
a97a0e05a811555f1ddbd8f13b28a36a5bfd85a42fb78186fb01db065a6543b00dc7f1611243db588926ea1796e74b60df33cf5957c0492794739aeffdcb0f3f
+DIST opera-stable_40.0.2308.90_i386.deb 48796506 SHA256 
93cc5cf5c0054bf418bc1957755fae91eb6172efe8bd175dda3e8c42ecea0bbb SHA512 
8f1394666f039012132940e0cbbbc8b514d3bafb0c501d90b51dc4ce9ef04bca84281a4b7fa6be230af8227e8787bf2ee4f4ddada7f98b9edf3c9b91146abd9e
 WHIRLPOOL 
7ad98bc1a96282473cc3a850f72daed1e27e1f1d1123cda67971469e0760fff1b99ddda793d7c966d9d881f3d6c5bea275b8825001376ab03620df9a67d5d80b

diff --git a/www-client/opera/opera-40.0.2308.90.ebuild 
b/www-client/opera/opera-40.0.2308.90.ebuild
new file mode 100644
index 00000000..0bbeca1
--- /dev/null
+++ b/www-client/opera/opera-40.0.2308.90.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