diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-02-22 23:32:05 +0100 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-02-22 23:32:05 +0100 |
commit | 5ab04b41fd77e442f2b23c0c6fdf74ecbed5ed3a (patch) | |
tree | 95adb45d2acd06b03ea3fde033c9089f4bc11876 /www-client | |
parent | www-client/opera-developer: Old. (diff) | |
download | gentoo-5ab04b41fd77e442f2b23c0c6fdf74ecbed5ed3a.tar.gz gentoo-5ab04b41fd77e442f2b23c0c6fdf74ecbed5ed3a.tar.bz2 gentoo-5ab04b41fd77e442f2b23c0c6fdf74ecbed5ed3a.zip |
www-client/opera-beta: Version 52.0.2871.3.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera-beta/Manifest | 1 | ||||
-rw-r--r-- | www-client/opera-beta/opera-beta-52.0.2871.3.ebuild | 114 |
2 files changed, 115 insertions, 0 deletions
diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest index bb61e8e2d597..4ce3bbe82d81 100644 --- a/www-client/opera-beta/Manifest +++ b/www-client/opera-beta/Manifest @@ -1,2 +1,3 @@ DIST opera-beta_51.0.2830.16_amd64.deb 52419724 BLAKE2B 69e7e607492f3bfde8a1f3a97adc6ede37b40ea9acaef7e2aeec3c5897a3265ce51556c9349bacce86c1dc432522460a226cab99f7c94b8d87f42a5f4bf4be4a SHA512 d7e485f9024be77d084ce01008a1c914a68343c5994e5de83f20db9f89120ea3da6182bd82592b152e531095a742592bc19d3e4153cbd75ce28f5e3e0b48bc90 DIST opera-beta_51.0.2830.23_amd64.deb 52635002 BLAKE2B 79a2ca80798f9c904f2915c93ae3b9537b58c54db87880017c60c72439b554218fbd18252c1fd73b33842d5793f6e85fe7e6b1384c43c9e80ea2fcd34ec65f40 SHA512 8271fdec291a767698e497fc0fbf3ad0bc40d78b43ff468b3e1974ef235f88b7104521fa8b752b19b54b6e45bdfc581a25fe7c8bc963d83f16f51805254fa13d +DIST opera-beta_52.0.2871.3_amd64.deb 54132430 BLAKE2B 385d1249a6e90a31f21bc75fc505e95f16833b591536ba154526414a1738bf873717b1d89935ee0c8d892c42ec34d4351fd007e106744128f09d5984ffcb1fbe SHA512 8d4187e575c927078eb39b9972620ff3c164adf34f7f79935a2472d4cbf888bba606bf18fd18210423dd3d96157066e54d270cfdd75f45932773d29ef9f08355 diff --git a/www-client/opera-beta/opera-beta-52.0.2871.3.ebuild b/www-client/opera-beta/opera-beta-52.0.2871.3.ebuild new file mode 100644 index 000000000000..308b38bc8be3 --- /dev/null +++ b/www-client/opera-beta/opera-beta-52.0.2871.3.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-419 es fil fi fr-CA fr 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+:2 + 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 +} |