diff options
Diffstat (limited to 'www-client/opera-beta')
-rw-r--r-- | www-client/opera-beta/Manifest | 1 | ||||
-rw-r--r-- | www-client/opera-beta/opera-beta-34.0.2036.16.ebuild | 85 |
2 files changed, 86 insertions, 0 deletions
diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest index dba6e11f79c1..965e0c602235 100644 --- a/www-client/opera-beta/Manifest +++ b/www-client/opera-beta/Manifest @@ -1,2 +1,3 @@ DIST opera-beta_33.0.1990.35_amd64.deb 43898074 SHA256 99636a24c3531801a79edf46bcbdeadbed589079db50994864b85002a8675122 SHA512 8a6047807ebfff513dd8a3ecd210cca41cd8066d2bd1f06bed05b48d6a577f3768967339b8a6639d7b8b4e8ae380f306094374d785aea37ec3295b2e55d5a0a2 WHIRLPOOL 4f504364b688ca46b750204b9679436e1dfc3606fc6dd792e23217e138c0a57d591131feedeeaa83ea8c5ce0109a817a075500dc1b34770b4b5885ac2187c2ad +DIST opera-beta_34.0.2036.16_amd64.deb 45548026 SHA256 10fda2dfba7dc7520be293ca99e1341078ef7d5550e0db4b6b571458cacb8720 SHA512 1a1108d59e7fca1453d1898a08a09b9ef5d52f2a8e46fd0de1bd8ef16f9d5e12b7d2fd28ae8d9eb89b7c905c47da81b49270b88ddaab4aebd46f4b48c2708a6a WHIRLPOOL 3e802f0e4e6c2d03a7b26a5d910845e76fee5c383d69dff2e793401eaaa5d1467881cad5dbb036894297f9947c58b28ff8b1c3f01df2da0f604ae1373d38115b DIST opera-beta_34.0.2036.3_amd64.deb 45601600 SHA256 ba0fdc667284c2fc5d76ee2fca223fec43f20c732f12d5af800b883215be0549 SHA512 67e6794318694470e4596fe4f1b5a9b4f67c5b2e0396c4b755c82cf0585ed38922181f918f3653a9a41621b8bfb6cdb6c37e712fb7544561b01b5f54bb9cc25b WHIRLPOOL f2ec8037133ff664ba1f218ef90eb96fbc40d7c6696cad32aa05a2b84c5fa37d99cdeb40986be2104dfe44366686d1f070ebea81e03e5ad4f3367dae6533c9e0 diff --git a/www-client/opera-beta/opera-beta-34.0.2036.16.ebuild b/www-client/opera-beta/opera-beta-34.0.2036.16.ebuild new file mode 100644 index 000000000000..85938b5f48ae --- /dev/null +++ b/www-client/opera-beta/opera-beta-34.0.2036.16.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +CHROMIUM_LANGS=" + af az be bg bn ca cs da de el en_GB en_US es_419 es fil fi fr_CA fr fy gd + he hi hr hu id it ja kk ko lt lv me mk ms nb nl nn pa pl pt_BR pt_PT ro ru + sk sr sv sw ta te th tr uk uz vi zh_CN zh_TW zu +" +inherit chromium 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 + >=dev-libs/openssl-1.0.1:0 + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/libcap + 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() { + mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die + rm -r usr/lib || die + + 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 +} |