www-client/opera-beta: Version bump.
authorJeroen Roovers <jer@gentoo.org>
Thu, 23 Feb 2017 20:10:13 +0000 (21:10 +0100)
committerJeroen Roovers <jer@gentoo.org>
Thu, 23 Feb 2017 20:10:13 +0000 (21:10 +0100)
Package-Manager: Portage-2.3.3, Repoman-2.3.1

www-client/opera-beta/Manifest
www-client/opera-beta/opera-beta-44.0.2510.73.ebuild [new file with mode: 0644]

index 6a93bdd035a440bcbb65ea7a50992f99841d419c..927113b418255541f92dba8a198a181a65d77b28 100644 (file)
@@ -2,3 +2,5 @@ DIST opera-beta_43.0.2442.52_amd64.deb 50735048 SHA256 90727982476961e2339eb0e8d
 DIST opera-beta_43.0.2442.52_i386.deb 51821350 SHA256 092039283abcf20a27802bb9bfecdbe18dd26aa0d1b6767c43af3b487a5b121f SHA512 6440c9e172ff964d666795bf3550268a73d38ae4784ff391af09e2edfe3f8b86d1aab332035385035e50dc5aaa8b7ea18319745d1b6867863de3536a94cb5928 WHIRLPOOL c5864b96abe8ba9ef250f7ae7bf180d4b75271f279f15241c28f3b81f937afe78a338af177518beef0d02556d9e331f2fc2856e13da2e27dd1440843aeafa110
 DIST opera-beta_43.0.2442.686_amd64.deb 50199250 SHA256 8682ce175b855b7a4404fb32a9b78483deff7b1cedff5ae1bf663ea0d2e79e2e SHA512 b2761b1f67db07a0cee548020723a08e61777c3ceddaef9398317f71e1e0405ebc8a61e43fd60e4e07281bdded05340e7e5ac914c56006e7e702f0ac8a9ac762 WHIRLPOOL 3621b652303ee781a847efd52736cda4033f1910eaf53810eea0871b1eaeba73d2fc705e25cecb2d24c18e54d5bb148aa9298f6042b67e3daea17bf854a5ff2f
 DIST opera-beta_43.0.2442.686_i386.deb 51804696 SHA256 208dacbacd3b65e441a6612cd23683d8aaa5e74575e687d03bd64cf1deec675b SHA512 57d83c1d79e26d71ffb909ec3f44d0875de65b69c4c924c80c79574b1a501188235c1c731c6b5335b9d869f706d70bf090f24dc58abd6a476153c6b320481939 WHIRLPOOL 5d3a358220bcee9b68be747d4f0c261ef44ae9269f7351deda61c9e4603adf6424f2bb1485ff87599254d06bd88304ecb190962378bfb4a9090a04ad4ecc31d2
+DIST opera-beta_44.0.2510.73_amd64.deb 52166070 SHA256 ffeb6fedfb38994ce1a24e613d7e5822c0a2005152b7ce7db9d2dbaa5bd901ca SHA512 83c591265d131804cc9b5cdb1507a5d50b6be9a4a4db742bcbbfa251a3857189adaad8038e6b6c8efbc666de2485eca44f8ccff70b2ec638c0a7cccc3f8b5b5a WHIRLPOOL 612778afd7e0dcaa5a652e567fff35a224c811f548e62b2ef08d0c173163478918252cd92fe1f36fa24abfbe84dff414d66e48d64ddbf3d7641799093d613b8f
+DIST opera-beta_44.0.2510.73_i386.deb 52938120 SHA256 1a371acfca032541f1bddfbc9979afedbb7572a8c5436d455eefc2c537813b12 SHA512 d63c2e0d1badad6d324c5d9a366f081963d74c97c39d290df347895d9d96abf1d1952b13f64a97ed34c870d4964825a604292ee747f67a68c0a763cfbe5c156a WHIRLPOOL 77b9afb7ce328dbadd0a66449025756d743788178d5c1b7d3b29734ec646eeb9a0774cbd76158533004718d2163cb1942ad160a497a1a8a8a424e3543021b075
diff --git a/www-client/opera-beta/opera-beta-44.0.2510.73.ebuild b/www-client/opera-beta/opera-beta-44.0.2510.73.ebuild
new file mode 100644 (file)
index 0000000..4cb28fd
--- /dev/null
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 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
+}