summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-12-07 22:05:18 +0100
committerJeroen Roovers <jer@gentoo.org>2017-12-07 22:06:09 +0100
commit75cfcc5be2c8e0e41ba861bebe53aa513bb335c7 (patch)
treef09b343611cc8f7122be94e6b079ef9b14de453b /www-client
parentapp-editors/emacs: Fix compilation with glibc-2.26. (diff)
downloadgentoo-75cfcc5be2c8e0e41ba861bebe53aa513bb335c7.tar.gz
gentoo-75cfcc5be2c8e0e41ba861bebe53aa513bb335c7.tar.bz2
gentoo-75cfcc5be2c8e0e41ba861bebe53aa513bb335c7.zip
www-client/opera-developer: Version bump.
Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera-developer/Manifest1
-rw-r--r--www-client/opera-developer/opera-developer-51.0.2796.0.ebuild114
2 files changed, 115 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest
index 829815dc11fe..b3359126ccc5 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,2 +1,3 @@
DIST opera-developer_51.0.2781.0_amd64.deb 51638314 BLAKE2B 45e6b79325b2e6764b430eed1eb767d514fcf46649f7fa66031cc7fd2f9a5c180642bae27c7577a180e8e147fb30e64cb61584906f8634dac24baa761dbd5659 SHA512 05925468bacac6d20ddf4113b8e99292c108749e10a504a82d010a6ff0c65b7cae08588a5fb8c06bd510e3be6ba18fa742ed34ea043c49c4d049ad09bca8a699
DIST opera-developer_51.0.2791.0_amd64.deb 51876582 BLAKE2B 2c18830ff2e8bf4b5d00b4c4a860fd580aec30edfa04a0c8bf811af96d4390e3bf5bd7a4d8893241999460030f2b87c4a6fe3049b9350e0180ff44baa119f108 SHA512 6659496d25c6cd5d91df17324843ce048151618a589bb0eae79290ba534330862ba4d289a47278ad12416133348ff2487ac5643fd8a4083600db59e4b27f8989
+DIST opera-developer_51.0.2796.0_amd64.deb 51813724 BLAKE2B a8dc53afcc9f12cf024bdc27116c47f8d7520f61debb3d2c39f89351950f69dff9f96c393ea5da64682cb9dee8b26940bcd5970d2bb2bdabb4c3843514ecd2af SHA512 4e93073a68dbd46c9eb269afb97bff3e3ad0b6ae2a31f4c4987c2dcbe1d4f5ef9cbd31e1f47cdd79161477a6ed022aa1e9a93a3ac4bea3e58426e08d315c1421
diff --git a/www-client/opera-developer/opera-developer-51.0.2796.0.ebuild b/www-client/opera-developer/opera-developer-51.0.2796.0.ebuild
new file mode 100644
index 000000000000..79b9f057efbf
--- /dev/null
+++ b/www-client/opera-developer/opera-developer-51.0.2796.0.ebuild
@@ -0,0 +1,114 @@
+# 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 es-419 fi fil fr fr-CA 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 gnome2-utils multilib unpacker xdg-utils
+
+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/
+"
+SRC_URI="amd64? ("
+for uri in ${SRC_URI_BASE}; do
+SRC_URI+="
+ "${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb"
+"
+done
+SRC_URI+=")"
+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+:3
+ 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
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}