summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-10-03 11:38:00 +0200
committerJeroen Roovers <jer@gentoo.org>2017-10-03 11:38:00 +0200
commit4cbf6a644d7d4dc018d7cfcec10dea2b0c4738cf (patch)
tree50624f3f2edc42d206741e33ddfe6278d3712e58 /www-client
parentapp-text/aspell: unbreak compilation on Darwin (diff)
downloadgentoo-4cbf6a644d7d4dc018d7cfcec10dea2b0c4738cf.tar.gz
gentoo-4cbf6a644d7d4dc018d7cfcec10dea2b0c4738cf.tar.bz2
gentoo-4cbf6a644d7d4dc018d7cfcec10dea2b0c4738cf.zip
www-client/opera: Version bump.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/Manifest1
-rw-r--r--www-client/opera/opera-48.0.2685.35.ebuild93
2 files changed, 94 insertions, 0 deletions
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest
index 7cb265c0bfc0..1dd4c2ce2f49 100644
--- a/www-client/opera/Manifest
+++ b/www-client/opera/Manifest
@@ -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_48.0.2685.32_amd64.deb 49835700 SHA256 681fc21800bcdea3fefb5f00f2fc5c0817040e1ec5028b59152d7610b2671780 SHA512 923aecf98e6cc33fd2556f74975bb94b1596c2b1f3fb1b4748a13fce358436933080b9fe276475b811f7ff6ca568c99ed866ede1da37235e879d2f9dd0f2971c WHIRLPOOL 76d419776989ea8c768c016ece0a9d764f2d143956745f8d3fab9ef7eae1ce81e86d594cea91e353c50347672d1baf695f418ea110f38357a61e564135f26a93
+DIST opera-stable_48.0.2685.35_amd64.deb 50261812 SHA256 3d2599085061a0362505df4fbd7efbe6a28879e0156fd4658739d9cdd27cb119 SHA512 2350fe08f2af8cbcd0e92101e122368f0b154e31eedb8cb632d6e36e2734a1d50e28113c6188d8e2b7a66f920a91a001cf46c46801e0b9ba9746eb9abffe0e90 WHIRLPOOL e7a55810c2065eb7ca5ce58005be2c3999cd9290d6c284060a1af1dc1b1aa474546b707c9cbd162f9aa8308975f29ae31c0b1d7caaee30366b0dde23a556360c
diff --git a/www-client/opera/opera-48.0.2685.35.ebuild b/www-client/opera/opera-48.0.2685.35.ebuild
new file mode 100644
index 000000000000..824ffea24a6f
--- /dev/null
+++ b/www-client/opera/opera-48.0.2685.35.ebuild
@@ -0,0 +1,93 @@
+# 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 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://download1.operacdn.com/pub/
+ http://download2.operacdn.com/pub/
+ http://download3.operacdn.com/pub/
+ http://download4.operacdn.com/pub/
+"
+for uri in ${SRC_URI_BASE}; do
+SRC_URI+="
+ "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb"
+"
+done
+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+: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
+ ;;
+ esac
+
+ 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
+}