diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-10-15 16:11:02 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-10-15 16:17:16 +0200 |
commit | 9d25c976e930dcd8fb917f18152db174f47dd366 (patch) | |
tree | df4bde724ba021ae57d44f2982ecf77086b0e536 /www-client/opera-developer | |
parent | www-servers/varnish: depend on dev-python/sphinx, fix bug #667574 (diff) | |
download | gentoo-9d25c976e930dcd8fb917f18152db174f47dd366.tar.gz gentoo-9d25c976e930dcd8fb917f18152db174f47dd366.tar.bz2 gentoo-9d25c976e930dcd8fb917f18152db174f47dd366.zip |
www-client/opera-developer: Version 58.0.3111.0
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'www-client/opera-developer')
-rw-r--r-- | www-client/opera-developer/Manifest | 1 | ||||
-rw-r--r-- | www-client/opera-developer/opera-developer-58.0.3111.0.ebuild | 116 |
2 files changed, 117 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index 7b21d1cee438..1c7878a7a3e3 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,2 +1,3 @@ DIST opera-developer_57.0.3098.1_amd64.deb 69970320 BLAKE2B 32190e19c4c4771401ad6963e567f1c0c5e09f2bea57fcc7c0381af1c8505cf2f53e4c7f4fc339ee4d5e49197d72457c0bbcf962aba0d24033258654eb255c05 SHA512 2b85fdc5bca06bbdd55258fb786bed59ae4799c15025659daceb2e44b29fe520205ed49d3c9fa300e985031f3cd3d53be0343a3b12671158b71cd42c6186908a DIST opera-developer_58.0.3105.0_amd64.deb 70419486 BLAKE2B 7c3b8ac9ece6c124cb5016f99a260be4416d99fc36a2c6bd02ac2fce3161ddfb51ec094ee9722081055b3ef78ad568b3b7b6a75351ea72bdab42645739dda65c SHA512 76b29d408dcf6115807ce75f318f0b37fb16da32125d7e859e00ef5f5ba1c0b38dc0b9e5af8251bc013cc4a3f1050ba5af3b923b17ce00b820e5bd983ca5d89c +DIST opera-developer_58.0.3111.0_amd64.deb 69837552 BLAKE2B 1146bb9b7e8ffe4e3e7e352957f26e8bc77194f61e6c959d24538815e11aaf448984065a55e6c0de85eca5be8a04fea4dd0da6c6f196596c1b62eac1e8bf2d2a SHA512 8228d15efe92f29908190d2bdeb819d3b5b1b734a7e7db9287b5601d4a4b4f706da9a4327ffe8066e757094ddfb4888c42f1d5a52fbd6aeb121d9657e5e0b716 diff --git a/www-client/opera-developer/opera-developer-58.0.3111.0.ebuild b/www-client/opera-developer/opera-developer-58.0.3111.0.ebuild new file mode 100644 index 000000000000..c09ad3685d1c --- /dev/null +++ b/www-client/opera-developer/opera-developer-58.0.3111.0.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2018 Gentoo Authors +# 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() { + epatch_user + + 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 + + mv usr/share/doc/${PN} usr/share/doc/${PF} || die + gunzip usr/share/doc/${PF}/changelog.gz || die + + rm usr/bin/${PN} || 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 +} |