summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-08-07 10:21:06 +0200
committerJeroen Roovers <jer@gentoo.org>2018-08-07 11:54:35 +0200
commita400cc6c24316291c276b938c7394f2e9be8b82d (patch)
tree9f160df06de578dac5a5df117f73459353bcb48a /www-client
parentwww-client/otter: Old. (diff)
downloadgentoo-a400cc6c24316291c276b938c7394f2e9be8b82d.tar.gz
gentoo-a400cc6c24316291c276b938c7394f2e9be8b82d.tar.bz2
gentoo-a400cc6c24316291c276b938c7394f2e9be8b82d.zip
www-client/opera-developer: Version 56.0.3037.0.
Package-Manager: Portage-2.3.44, Repoman-2.3.10
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera-developer/Manifest1
-rw-r--r--www-client/opera-developer/opera-developer-56.0.3037.0.ebuild114
2 files changed, 115 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest
index 3e227bdf0c82..994ac3ee8dda 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,2 +1,3 @@
DIST opera-developer_56.0.3023.0_amd64.deb 59238156 BLAKE2B b76684508134413bad2df613f5cbed3f0c166f7cc89335026c8817d3f1c8d81acde14682b2dd2417395a478bdabd8c680994fd9cdcae143e9aab1537b8ef81cd SHA512 e680cee4804707556e72d0d3ba476651bcdaf15c3264b87fe0fcfcbaab896b650f6ef940c2805f4f2611350fab2cbcfdeaaf3abcf0a02ea0150bca46cc19292a
DIST opera-developer_56.0.3026.0_amd64.deb 59316648 BLAKE2B be1cb1abc97b32f9e323b49378d6d626b58aedcb5c529e77cabfebe65cd0e6dfaba0f26a7e90c2910a7468a3958a70cb538aa1ec886c5a60fa8ae77ce9c4b1c1 SHA512 dbc1ddfcc3f6914ab157ba56db60398a73d16e42b5c7a2d6452b0707acdade74060a1832dd2eda28c38c0363340b5185fd50cc01bcc0e7a199d4c154c3fe9817
+DIST opera-developer_56.0.3037.0_amd64.deb 55910568 BLAKE2B cdec28a3437084a1fdabdf39ad23db2ca913558c2e73fcb744c22873683b628543312fbf4eb68d5d82fedb4444e88b6016c23f6f4a4f47273e62b9af5f65baa6 SHA512 6a47a2a89d9b54c35df14eb99226685517b27b3adfea482280eb4eb77e1560f7c91a3409f964ed1f708ec680ada14fe6255da6228e83c677bd175144526eb3cf
diff --git a/www-client/opera-developer/opera-developer-56.0.3037.0.ebuild b/www-client/opera-developer/opera-developer-56.0.3037.0.ebuild
new file mode 100644
index 000000000000..7f81451646eb
--- /dev/null
+++ b/www-client/opera-developer/opera-developer-56.0.3037.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
+}