diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-08-09 19:51:20 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-08-09 23:11:34 +0200 |
commit | b06f4856d60d730ad5581647096d44159b36a5a5 (patch) | |
tree | 1eff8e42851308276e8fb8bf8a122ac154c44d64 /www-client | |
parent | x11-misc/sddm: use elog instead of einfo for messages to users (diff) | |
download | gentoo-b06f4856d60d730ad5581647096d44159b36a5a5.tar.gz gentoo-b06f4856d60d730ad5581647096d44159b36a5a5.tar.bz2 gentoo-b06f4856d60d730ad5581647096d44159b36a5a5.zip |
www-client/opera-beta: Version 55.0.2994.34.
Package-Manager: Portage-2.3.45, Repoman-2.3.10
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera-beta/Manifest | 1 | ||||
-rw-r--r-- | www-client/opera-beta/opera-beta-55.0.2994.34.ebuild | 114 |
2 files changed, 115 insertions, 0 deletions
diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest index cf0673bf3397..bd2cc1931b9c 100644 --- a/www-client/opera-beta/Manifest +++ b/www-client/opera-beta/Manifest @@ -1,2 +1,3 @@ DIST opera-beta_55.0.2994.23_amd64.deb 56588490 BLAKE2B 4ddf932d0ad9cba59a9e221f880d31b3346868cc163974d63ee200dc402d4cb13f0228def39b8f469f09c82eb98e7bce5608f7395126c1721143e52db83132b4 SHA512 c0125bb6087998941f7edcdf97b399c3fd965e70491f5de3c1191a826c2687607dc87af4784d942263749e9b361ef976351c16ab925206354030922045734ba3 DIST opera-beta_55.0.2994.29_amd64.deb 55842144 BLAKE2B cde94452c7986e2c913605865eb85928dc250105347db2af81e4891bdc9dfae38006861ac8bcf88df7a4dcf1ed6714b335d978ecf0e32a1ddde9d77a2130b3c2 SHA512 8808fec284cad8944000609b286636a929c84d92ca16b41c9398e22811c861ed1b219b0e4bac8dc7b8cecb1202d82588cf7194663f597270f146d3cdffbb0a67 +DIST opera-beta_55.0.2994.34_amd64.deb 56117936 BLAKE2B ffb4a440dc34bbd4fc68ad7c929d575d337519098997038cc9d2d75bfc5ee22640bb28b26fb1413b2ce42537a79a776f4274f5bc290cc3623b807daebebec5ae SHA512 110d289e5f42fa0a444bf77a93a9599508d27b7e5f96a4a3721cab7b2d1a61d3cae0088e721dbbcf9c5af4eac700333798747e7137a941861e565e6b1df5bc21 diff --git a/www-client/opera-beta/opera-beta-55.0.2994.34.ebuild b/www-client/opera-beta/opera-beta-55.0.2994.34.ebuild new file mode 100644 index 000000000000..135872778f99 --- /dev/null +++ b/www-client/opera-beta/opera-beta-55.0.2994.34.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="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+: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 +} |