commit:     ce5a2e22166937b54016156034588fa3af6c393c
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  9 06:49:46 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Aug  9 06:50:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce5a2e22

www-client/opera-developer: Version bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 www-client/opera-developer/Manifest                |  1 +
 .../opera-developer-48.0.2670.0.ebuild             | 89 ++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/www-client/opera-developer/Manifest 
b/www-client/opera-developer/Manifest
index 7bc601daf0c..1951c093732 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,2 +1,3 @@
 DIST opera-developer_48.0.2657.0_amd64.deb 50831978 SHA256 
d3ec7488322e529e77d4090b3ad9e23f62ac4e3faa32bea4477ea9d5fd7c3959 SHA512 
29222384fb20eda2791314dbe68aff76d3d4ca33291daeca0436920a70c749a39d7f01aa89064da338e37c0ca8a20223476c04a1bed5c0a8a23da3bfb63a3c1a
 WHIRLPOOL 
3bfab75d4cf249007c08ea54bd6594b3005104e7c9a0cef4bc1aa414f7961ef28099e219b7b3588c919cf8a27113a8f76f2762feba90ea3b17444f8e4c165b5c
 DIST opera-developer_48.0.2664.0_amd64.deb 50521996 SHA256 
f41f9fbfa69e36bcb78d5bff6f13fc4c4bbb38bf18fc73bade95d88f782fa2f7 SHA512 
932e53e019f4588a8c4cac34c7c6dc0f4c692d2b206f6d5eae09eb3cedb8c0e9971d075d5096dc291fc616d3b4984eb8ff59da8e136ba7d8b2c13295931e662a
 WHIRLPOOL 
39a95de2e31c32f4ee7f9f9cd4f10e10fa76605ae871428da0ae98c4e3b99117421900d4c21f18a0cd3cb6fdd0bf4b33b57ab19e565ae8ec2aabb95e23da5817
+DIST opera-developer_48.0.2670.0_amd64.deb 50423226 SHA256 
9ea3ee7e5cc0fd75fe9c7f580fffc696cc215eb1af637159696dcea9d49aff0d SHA512 
c46c408e8306bb682cb8528010edef2801bf25c9f487cd3385a414ccd8a97923fd32be6f6f6d25fa9779c235c8f285d3c6eefe98974b16da6ff2d5e7033775ef
 WHIRLPOOL 
496eb8df825bb0e2107add47de24e75cdda29c11c85f8a2d553a339bcb29ab0a1246a682ee8899ff45f9f532ed9e2a05b04b66ef0ad822f0d4ea786de4abf06a

diff --git a/www-client/opera-developer/opera-developer-48.0.2670.0.ebuild 
b/www-client/opera-developer/opera-developer-48.0.2670.0.ebuild
new file mode 100644
index 00000000000..8954f5fdccb
--- /dev/null
+++ b/www-client/opera-developer/opera-developer-48.0.2670.0.ebuild
@@ -0,0 +1,89 @@
+# 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 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
+
+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" )
+"
+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}
+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