diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-05-24 17:41:17 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-05-24 17:41:17 +0200 |
commit | 82a315868d7da060028e422b31d8d424ca7cc8b2 (patch) | |
tree | 7bfb60286cd32d728b838297572185b25018752b /www-client | |
parent | dev-libs/nss: enhance to install libnssb.a, libnssckfw.a and nssck.api (diff) | |
download | gentoo-82a315868d7da060028e422b31d8d424ca7cc8b2.tar.gz gentoo-82a315868d7da060028e422b31d8d424ca7cc8b2.tar.bz2 gentoo-82a315868d7da060028e422b31d8d424ca7cc8b2.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.6.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest index 25d2ff0ddc3b..68d7d1e3df6f 100644 --- a/www-client/opera-beta/Manifest +++ b/www-client/opera-beta/Manifest @@ -1,2 +1,3 @@ DIST opera-beta_45.0.2552.634_amd64.deb 49294588 SHA256 dae8a5edbad952861fe5de54afdd9f2ea2b9b3fde0bf5cfc9837318e1d9f0d80 SHA512 eb0f456e81127479c7858cfe86a1feb936807b0b5803b0c1def87a154827652361cdf87c70f6f2f862a801f7e2e664bd2f3f50c454c805ae85951c5d4c15d94e WHIRLPOOL 6b9c2e45d18aa3a33448b13695e3903e14893dc770eb33f2019ba48e82fa0ccd41675a566329e7f1d90e4d20b08ed8e073dc44847fe9686709e700e6c0168cf8 DIST opera-beta_45.0.2552.634_i386.deb 50448026 SHA256 3c86ab5e7121dd13df7709764077fb3ae20a49c1630eda2f5db2f61660444ce9 SHA512 dd2cf746edbc388081f5991c0a2acdb36051019fa24676e872f33dd5ec334d815c35b8aaa7ed3d6886995e318dcc34caefcb24b105de1aa22ddd3930a7300f30 WHIRLPOOL 082c89da0df2327ce470727e9d26c0634ff9c8afbbaea59cd83e39864c2dda1536cac584cb3b538a10f67078c41e2200880a21269f5d1906ab16b51e12f2b463 +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.6.ebuild b/www-client/opera-beta/opera-beta-46.0.2597.6.ebuild new file mode 100644 index 000000000000..b72074ee1528 --- /dev/null +++ b/www-client/opera-beta/opera-beta-46.0.2597.6.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 +} |