www-client/opera: Version bump.
authorJeroen Roovers <jer@gentoo.org>
Wed, 16 Sep 2015 03:31:52 +0000 (05:31 +0200)
committerJeroen Roovers <jer@gentoo.org>
Wed, 16 Sep 2015 03:31:52 +0000 (05:31 +0200)
Package-Manager: portage-2.2.20.1

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

index f8598ed4cc110581887a98ade36bc57c49e91e8b..733fec8e65599d5fa142d5fae91e78d4e328c3af 100644 (file)
@@ -3,3 +3,4 @@ DIST opera-12.16-1860.i386.freebsd.tar.xz 13385696 SHA256 dcd80ea7a8f090a47007fc
 DIST opera-12.16-1860.i386.linux.tar.xz 13154668 SHA256 df640656a52b7c714faf25de92d84992116ce8f82b7a67afc1121eb3c428489d SHA512 a13ec53311e3e78f35103a9dd5337c0e9a555362860213080211ee9d21de88fbd6aae03bed20b7515874d5a09dfbab108954213745fb82175f5e48e555152613 WHIRLPOOL ae1af6858847fe51dcac8cb076a67099846ad66b734ecf92780e953daec963754c9e4352e979a636eac70e785a62bd94e084124080d7fe0f59b420a99a2133cc
 DIST opera-12.16-1860.x86_64.linux.tar.xz 14018800 SHA256 b3b5cada3829d2b3b0e2da25e9444ce9dff73dc6692586ce72cfd4f6431e639e SHA512 c1289f352ea5fc8133b105771f48fdc56ccd770920330b1a0ed939ff909abc68081447673572eabeb1aae6db5194b6ab35c93afad78a91d8f7a9a0f91e81ef8b WHIRLPOOL 539cdf43b4c8175c664fbf786b27ede1d33e58c44f75229a1a50612951136f526d646f3e0444b6cc69961259c3e3ef7dbf722b520abb4d4dbb98032c4de335d1
 DIST opera-stable_31.0.1889.174_amd64.deb 41977716 SHA256 4459bfa8b4469fe2ef68373dfd61616919266c87a18125973afee60c06beaf29 SHA512 ac6c12a992637d79d67c0b48a276f0424c67de73bb8ea210eaca807e21fc7d2d20944737d6250094f690e014fff3fa58d9f79e128fbb5c5ccc18b793c8c43ab5 WHIRLPOOL cf65cb6f7e09e3a31121b64a096ef9b2bd5010ecc9fd075fa6709989bf0dab28977f36357edcbc1062f782b72d0e1c4d2e0b51e0e69e14d7b76c81b6b2e5b9f1
+DIST opera-stable_32.0.1948.25_amd64.deb 42048690 SHA256 4157732e784d13128a991b640c2d549aa9597d9f6900fc30c768ad17e9e1a2c1 SHA512 97724f2fdb2257da4d4057243ae5a957858d083ed05e236e2f2ac5186a0edbf66636acd868146fb2a52464d4616d127360a93f297abcf5121c8b104e03b1fc2b WHIRLPOOL 4a2038f8dc9f1acfb1a44730bf1e09b25a404a07601f129a0ce484e8e5c72ea4ef917ea164bd860736ad676d5832aff0e6039f98ba2234c68bbc17ca86893290
diff --git a/www-client/opera/opera-32.0.1948.25.ebuild b/www-client/opera/opera-32.0.1948.25.ebuild
new file mode 100644 (file)
index 0000000..eb73eb4
--- /dev/null
@@ -0,0 +1,85 @@
+# Copyright 1999-2015 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 en_US es_419 es fil fi fr_CA fr fy gd
+       hi hr hu id it ja kk ko lt lv me mk ms nb nl nn pa pl pt_BR pt_PT ro ru sk
+       sr sv sw ta te th tr uk uz vi zh_CN zh_TW zu
+"
+inherit chromium 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" )
+"
+KEYWORDS="~amd64"
+
+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() {
+       mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die
+       rm -r usr/lib || die
+
+       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
+}