commit: 01c01d2acedc4d9ea0a76a4e4f3114706f2d4284 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Fri Jan 29 08:58:21 2016 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Fri Jan 29 09:01:25 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01c01d2a
www-client/opera-beta: Version bump. Package-Manager: portage-2.2.27 www-client/opera-beta/Manifest | 1 + .../opera-beta/opera-beta-35.0.2066.35.ebuild | 85 ++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/www-client/opera-beta/Manifest b/www-client/opera-beta/Manifest index 5e74128..3d9b983 100644 --- a/www-client/opera-beta/Manifest +++ b/www-client/opera-beta/Manifest @@ -1,2 +1,3 @@ DIST opera-beta_35.0.2066.10_amd64.deb 45305092 SHA256 7a4a745e9e22632dc9c2439fa8a2aa93ead1eb1cb14d58e22c7b2d8ed2b5a5a0 SHA512 993ca06a62641aa31fb75bff6caaab03d4222303669bc5ecba602f1ebf4cd923359616897e66659fd2eddf97041f8315f05a4b0c8314175d7473a0e1ef9382ba WHIRLPOOL e1470f6df3ff11794d204b41f299787084456ac42316886ffef921ea0919f916b980fb59d219ddfcc17bdc8768fd02b8dfff46466bfed86993e1cd0a5cf7b09a DIST opera-beta_35.0.2066.23_amd64.deb 46055652 SHA256 5031aa88f62efd44cabb05b5ec3de6173b672f5e10d4da7572321d9192741133 SHA512 39643779ae402b27eff2aab4cd0b65713f0dc91a0c451991a5ad27e4f5603a47e9beb8eccd6adaa249dd7113bd57fe42a644a9e52108c00b8084fd0ad8a46aa0 WHIRLPOOL 2b63a97e55f7e6a41d9338ef910348f71d184b330b8f1d8c088e2bdb12448a41e850024b75982599e5e0ae633ba4dd8bb9a2d31e000ab6b9c994c3fe763083a6 +DIST opera-beta_35.0.2066.35_amd64.deb 45196244 SHA256 fffa77b114ce8434d4b48987042f26a919e319a40ad61250af891e6119fa9d0e SHA512 c75798d17f59aff11e5e58f21d5606f9d92b1136bcddc901662f5adba1ddc400729a653c12e39d2cf7754e741834f46f82ba44c39220371c037c73964e72d539 WHIRLPOOL f6b8b7133d701a60baca44f93160e4d67bbe65aa45643fed6b84e337926582b784e488e4287806dd88b03dbd46abd673eefa9d880ef71e5d775b81d4732697d7 diff --git a/www-client/opera-beta/opera-beta-35.0.2066.35.ebuild b/www-client/opera-beta/opera-beta-35.0.2066.35.ebuild new file mode 100644 index 0000000..85938b5 --- /dev/null +++ b/www-client/opera-beta/opera-beta-35.0.2066.35.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 +}