summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-08-27 16:21:33 +0200
committerJeroen Roovers <jer@gentoo.org>2018-08-27 16:21:55 +0200
commit23943b6a681c2535de53d61ad14abc3bcf3eee90 (patch)
tree95ded84afe400b16993036cea26806caf5a17dc9 /www-client/opera-developer
parentdev-lisp/cl-ppcre-unicode: Bump version to 2.1.0 (diff)
downloadgentoo-23943b6a681c2535de53d61ad14abc3bcf3eee90.tar.gz
gentoo-23943b6a681c2535de53d61ad14abc3bcf3eee90.tar.bz2
gentoo-23943b6a681c2535de53d61ad14abc3bcf3eee90.zip
www-client/opera-developer: Version 57.0.3058.0.
Package-Manager: Portage-2.3.48, Repoman-2.3.10
Diffstat (limited to 'www-client/opera-developer')
-rw-r--r--www-client/opera-developer/Manifest1
-rw-r--r--www-client/opera-developer/opera-developer-57.0.3058.0.ebuild114
2 files changed, 115 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest
index ddc9a59d448c..309a9170d85b 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,2 +1,3 @@
DIST opera-developer_56.0.3045.0_amd64.deb 56118952 BLAKE2B 670a42c8be66b79ec134dd43e508b872cf68af8273bc87d38d422df5f8ab2f6fbaf6d564cae2334862b5866e1ecaf3e4e937893f18348404a833dcf35d338e08 SHA512 a07fc096a8abfbf4d52de490e98bacc644c3978b44da677dde32183a36d2efe0e2fa4a6d67f2d1bbf10c00381c86d33a91387e0fb4c5d53bd576bbcca4c3e34e
DIST opera-developer_56.0.3051.0_amd64.deb 56394506 BLAKE2B 7549a8c2f95f71eaecb4c96c39693ecb10b302f6f6da63abae964898f1f1b4dd70c3741049defe35ebab377ce7591c69ca39a9ff97086ade7be1b895900692a8 SHA512 5f992ce71e8bba529181a9a538956f245995d9e1a7a3fd52ffb3d3bcececf6e46a3db4ef884f8008a6d7308f33ea941549823737b5c3a26b5c29ef0a6a993d9f
+DIST opera-developer_57.0.3058.0_amd64.deb 56780964 BLAKE2B a592b4e15216c21029a67194299d3145bc77b4ca3e9300cdf4f6a54463cbedf2b8d1f8aed30639ee655d4c5ef8893616d4f25e57271c88ec2b6e2875bf6d0f41 SHA512 67866275e57496d8af529fcced5967b13226a462c30fef2eb69e83d321c066bdd9be58c32c3cd541d4e418b51cec55f640b2cfab174819194ae56ceeb27e2999
diff --git a/www-client/opera-developer/opera-developer-57.0.3058.0.ebuild b/www-client/opera-developer/opera-developer-57.0.3058.0.ebuild
new file mode 100644
index 000000000000..7f81451646eb
--- /dev/null
+++ b/www-client/opera-developer/opera-developer-57.0.3058.0.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2018 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="https://www.opera.com/"
+LICENSE="OPERA-2014"
+SLOT="0"
+SRC_URI_BASE="
+ https://download1.operacdn.com/pub/
+ https://download2.operacdn.com/pub/
+ https://download3.operacdn.com/pub/
+ https://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
+}