diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-06-02 14:02:02 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-06-02 14:02:02 +0200 |
commit | 1bd53bdb1ce335c331da6aac69e9e16e175a96fb (patch) | |
tree | 886ed73a2a74c1f30691d939d87acf5c63ad67d8 /www-client | |
parent | dev-libs/libgcrypt: New upstream version 1.7.7 (diff) | |
download | gentoo-1bd53bdb1ce335c331da6aac69e9e16e175a96fb.tar.gz gentoo-1bd53bdb1ce335c331da6aac69e9e16e175a96fb.tar.bz2 gentoo-1bd53bdb1ce335c331da6aac69e9e16e175a96fb.zip |
www-client/opera-beta: Version bump.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera-beta/Manifest | 1 | ||||
-rw-r--r-- | www-client/opera-beta/opera-beta-46.0.2597.11.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest index 5a4d04540670..4aeec923bfee 100644 --- a/www-client/opera-beta/Manifest +++ b/www-client/opera-beta/Manifest @@ -1 +1,2 @@ +DIST opera-beta_46.0.2597.11_amd64.deb 50373228 SHA256 b212dac0fbae0cbb17d11f49fa8101fb4e7acdc14379909c13ca79d8d29516aa SHA512 1b504019b80318bbcabc9d3c8364e93339614bb788060977964e1b97eb00b344d87db3aa7cab1a7a1f2e9d54d73d00c3422ba82a3ff90e4317c86dfaebbe79d9 WHIRLPOOL 77d9ef6e1a4e9c0d3b5e5f9b830e55bb16df90b9653aaad3f8fee1fdbb8059c1353d9269e681055693cd6455bbe43b2b2844a1e5e02054ef8da330784237cee2 DIST opera-beta_46.0.2597.6_amd64.deb 50340484 SHA256 359a7596bb436ada87b7aec54c6c25e1cb08081d426c2d0ea50c75adbf0580e6 SHA512 b497543efa3c18c46a8275a5177b487076b4f27f7494f1eb7755bcf9f725de197c1f1f8968ec4542862e3ae350712c077348edde72f25897b20a0b0b8cf3432e WHIRLPOOL cba2a3c4619383931f0c5867484dace119af253cf1e503be09828eab6cdc922a203e31cf43a707ab7131d28af3102ad4fbff961890199d5e475bb86f2b03af0d diff --git a/www-client/opera-beta/opera-beta-46.0.2597.11.ebuild b/www-client/opera-beta/opera-beta-46.0.2597.11.ebuild new file mode 100644 index 000000000000..b72074ee1528 --- /dev/null +++ b/www-client/opera-beta/opera-beta-46.0.2597.11.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2017 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 he 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 multilib unpacker + +DESCRIPTION="A fast and secure web browser" +HOMEPAGE="http://www.opera.com/" +LICENSE="OPERA-2014" +SLOT="0" +SRC_URI_BASE="http://get.geo.opera.com/pub/" +SRC_URI=" + amd64? ( "${SRC_URI_BASE}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb" ) +" +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 +} |