www-client/opera-beta: Version bump.
authorJeroen Roovers <jer@gentoo.org>
Fri, 7 Apr 2017 08:29:37 +0000 (10:29 +0200)
committerJeroen Roovers <jer@gentoo.org>
Fri, 7 Apr 2017 08:30:23 +0000 (10:30 +0200)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

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

index 7d51b52c29bb2018a1adf185bbf8cc4799004d0a..5cc3561e8e909853b89289020083848a0b10624e 100644 (file)
@@ -2,3 +2,5 @@ DIST opera-beta_44.0.2510.433_amd64.deb 51612524 SHA256 6e4ceb3ef8d1b500e2674e30
 DIST opera-beta_44.0.2510.433_i386.deb 53236220 SHA256 ec09bcfefbffadc384bfe7c6e2bb1ec21efd48418157ac36cb68839adf7f1447 SHA512 c762d0e51bbba7cd8524badd45fe596d543fbae84d08035327089ca1616f4ffb4f38ce41b764e0a1569d4b2ecb2b2866d8ddf456aaca51985487070e1e0ecb20 WHIRLPOOL 9c3c879402d351d247fd27e4843650aac6b1d95f3aaa05f98c6477c44f6d6cd0703bebecc9a5c5ce00b161c02ae366b8e1ea6d3fabf07955d479675a85395105
 DIST opera-beta_44.0.2510.849_amd64.deb 52205248 SHA256 46e95c326e59ab18804f7942682e62aab5f01445dddcbfddc255e9398294da3e SHA512 9f89f42928dc3077e65ea613fc83cd085e29c1cf12641c400c6bc31b87791c6189addf1f378b62549653163f7d0f5bb2ee41a3bd97c02128c4a192bd27deecde WHIRLPOOL 40ecac85ca31502766c98cf13ae27133fb304c9d85657c50f8850abce87f617b3312fccee057961db805da7b920e9e75c9298200fd106646a3c7fe917d84111f
 DIST opera-beta_44.0.2510.849_i386.deb 53294706 SHA256 72b20d91805ff95bd120165dca353df0fe871f743c99427e998ea62faaa609ab SHA512 1da6fcfc4f91d8ee3528697f642f094de18f9cb6968630ae98a11da9213b4bf556b5ab4b82b6f4b23cb87307f459f0d43c9bb61a9963e7d1b650817ab269498f WHIRLPOOL d51390127ccb530531cf745dacbebe27521fd768f2999f60f725c18943fbb9321f1f4ffdd2b23f0b455ab877fc6f8e9508263bc2820f8f9ee8cdd465045cebab
+DIST opera-beta_45.0.2552.89_amd64.deb 55743496 SHA256 d21205da5da145f7b15bc8263632ed1b23cd02b600a79b94e34fa61198c002ec SHA512 4359fd7be6845384f92fe60543c1c31e967a16a003f8397c1a1758ce96a62a27961c522c11f791d6223c3a3002439dd7f3a1f91dc9facc5fecdec271ec713a8a WHIRLPOOL 64cd29528b4c4a40e913e206c10cf2315cd35a4e0cbd5ad9cfbc2f1b11c08377b1ab83e59a7362ab24f1a481c28671c07bacde319161b5cc04bbf4b81dd445da
+DIST opera-beta_45.0.2552.89_i386.deb 56664120 SHA256 80dbf033765d0dcff1f789d4c79312aaf4d6921a5065e2e130d4f3dfcce32e60 SHA512 926c88d5ff8c209bedebad6f5bf50b4c47a758061264de49ea07c3f32bd87d139dd53d5a6c4810b09074e601b9f996fd6fec7e524b4ece7cfdbd2ed1c31d107d WHIRLPOOL c91cb25667eae7d9627712b59edb243098e1f9eb0036fec00b277da67c02bed204bc16abdf3a812af1559bdedfe11251f0a87d7fabbff0b3cb08e0e768362da6
diff --git a/www-client/opera-beta/opera-beta-45.0.2552.89.ebuild b/www-client/opera-beta/opera-beta-45.0.2552.89.ebuild
new file mode 100644 (file)
index 0000000..a68ab5a
--- /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="
+       be bg bn ca cs da de el en-GB es-419 es fil fi fr-CA fr he 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" )
+       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
+}