summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-08-14 15:21:27 +0200
committerJeroen Roovers <jer@gentoo.org>2018-08-14 15:21:27 +0200
commit3e7176bb79376727f059de180afb0a112870564e (patch)
tree5eaa9e370e0cf11f8547d862c8faac36c1651765 /www-client/opera-developer
parentsys-process/psmisc: Removed old. (diff)
downloadgentoo-3e7176bb79376727f059de180afb0a112870564e.tar.gz
gentoo-3e7176bb79376727f059de180afb0a112870564e.tar.bz2
gentoo-3e7176bb79376727f059de180afb0a112870564e.zip
www-client/opera-developer: Version 56.0.3045.0.
Package-Manager: Portage-2.3.46, 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-56.0.3045.0.ebuild114
2 files changed, 115 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest
index 2c966e3558ed..a7e61538c747 100644
--- a/www-client/opera-developer/Manifest
+++ b/www-client/opera-developer/Manifest
@@ -1,2 +1,3 @@
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
+DIST opera-developer_56.0.3045.0_amd64.deb 56118952 BLAKE2B 670a42c8be66b79ec134dd43e508b872cf68af8273bc87d38d422df5f8ab2f6fbaf6d564cae2334862b5866e1ecaf3e4e937893f18348404a833dcf35d338e08 SHA512 a07fc096a8abfbf4d52de490e98bacc644c3978b44da677dde32183a36d2efe0e2fa4a6d67f2d1bbf10c00381c86d33a91387e0fb4c5d53bd576bbcca4c3e34e
diff --git a/www-client/opera-developer/opera-developer-56.0.3045.0.ebuild b/www-client/opera-developer/opera-developer-56.0.3045.0.ebuild
new file mode 100644
index 000000000000..7f81451646eb
--- /dev/null
+++ b/www-client/opera-developer/opera-developer-56.0.3045.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
+}