www-client/opera-beta: Version bump.
authorJeroen Roovers <jer@gentoo.org>
Thu, 2 Mar 2017 20:08:26 +0000 (21:08 +0100)
committerJeroen Roovers <jer@gentoo.org>
Thu, 2 Mar 2017 20:28:50 +0000 (21:28 +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.401.ebuild [new file with mode: 0644]

index 10d2d99f05c3793f7e710039c64afa8b0dc5fd7d..a0ee924ea487e077d9e7d915ea7daf22bbbc31c8 100644 (file)
@@ -1,2 +1,4 @@
+DIST opera-beta_44.0.2510.401_amd64.deb 52217416 SHA256 e552e55968c5647939b976bc09c2bb0248def464e0bb96890d7dc7e871fce244 SHA512 bedb567befba1bfc2fc9f10e80d76b5a0f90cd636183406b185b4346ab736f90cbb8cb1eac059ea407c2ca08bc48a341375575838c45ba49594dd7a52988d273 WHIRLPOOL adc45cc5ded29b6234f01d79c2e11344d73dcb7f72a6a6acd32eeaa38a86ce02c6a0f32d7a9319cc2acfa41bb4cb90ea65687194cbe66993ded27fec2bfb2cc7
+DIST opera-beta_44.0.2510.401_i386.deb 53205220 SHA256 807378db7ec6dc659b461e95946a51ec89b2e35e96535a1ca31042a0dbd4bc71 SHA512 d44ca205c41ec59e627fb24d65e63231addde75cfa9dff4a49ccd56d200c1ba283be3ed7c4638cb0c79b1f9004f583b1b115285124edd151e60d1935959052ac WHIRLPOOL 2d91fa9fd6a907d592ce69fd3beaf43baed83e6961ef2b91bb4f22d818b35bd9b38dd76d3ecd6397eab5fb3684e1f5529a5a684ab81d4dd8221df225168fbf99
 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.401.ebuild b/www-client/opera-beta/opera-beta-44.0.2510.401.ebuild
new file mode 100644 (file)
index 0000000..a9a14af
--- /dev/null
@@ -0,0 +1,90 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}