commit: 243122f5b362f6e74fb4441b0575e58be25b4304 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> AuthorDate: Tue Feb 21 21:18:30 2017 +0000 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> CommitDate: Tue Feb 21 21:23:46 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=243122f5
www-client/opera: Version bump. Package-Manager: Portage-2.3.3, Repoman-2.3.1 www-client/opera/Manifest | 2 + www-client/opera/opera-43.0.2442.991.ebuild | 94 +++++++++++++++++++++++++++++ 2 files changed, 96 insertions(+) diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index acde5ebec3..4966486a28 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -4,3 +4,5 @@ DIST opera-12.16-1860.i386.linux.tar.xz 13154668 SHA256 df640656a52b7c714faf25de DIST opera-12.16-1860.x86_64.linux.tar.xz 14018800 SHA256 b3b5cada3829d2b3b0e2da25e9444ce9dff73dc6692586ce72cfd4f6431e639e SHA512 c1289f352ea5fc8133b105771f48fdc56ccd770920330b1a0ed939ff909abc68081447673572eabeb1aae6db5194b6ab35c93afad78a91d8f7a9a0f91e81ef8b WHIRLPOOL 539cdf43b4c8175c664fbf786b27ede1d33e58c44f75229a1a50612951136f526d646f3e0444b6cc69961259c3e3ef7dbf722b520abb4d4dbb98032c4de335d1 DIST opera-stable_43.0.2442.806_amd64.deb 50549856 SHA256 9247a33839cf629018192b5282b6acbcfe3be98c1e1a0c0ceb9246d9ad177be3 SHA512 70ca209cb4dca48f7946b98dc8b17c9c4807915859320ec49577db2fed8e095e55dc52795da4d988a72c4962ab86a3fdaa5989d6aee24d6b0d05b50759efccb9 WHIRLPOOL f9b7610dc22012d524c330bca99e847644b886432f4a42c75fe699f2c80caabd8b418beca74844cbf1e2ea4f338789d8bd6a1aab5b4230962f6f5f455899d860 DIST opera-stable_43.0.2442.806_i386.deb 51132460 SHA256 66ec0318018268d6a375b8fe49dc71ebcc162375787ab7bc41543f357a766eaf SHA512 d0a1b1efe492d09c2db0cde137227f310cf0bde89e4f64e713b2e0aaf0ffc5fe15c9a866d404581d575498d0681ee1ad6f5c168924ce7a9dff3e341c57b7f195 WHIRLPOOL 174e58f1a2ba4aaeba9cf55cd7a85f67291e51aa24085941be5cdaf239a155d05a66efe051eddf6b13b6fe189ca0e618ce08881c5d93392b69113d5ad1ffd82f +DIST opera-stable_43.0.2442.991_amd64.deb 49798566 SHA256 fdb8b2dc79c637b952d366ba45b798e91812ea01bcec219fd85bf90fff6842de SHA512 4ea00048f5f4ef4081d1d9af069d4cc977723795bf418c5c5620ac0a2f59990598267a4229249601f6dcb2dd9581dca3c831bf9084c79dbc5f3a8919ec5b5d5e WHIRLPOOL fd935b529d5c69e70cce4ba9e841f0125d0264d870ed17e3e87674d6dfa87c1170ae1df508ba1e6984c17ce2d1c92be3f395a33908c16acbd290fcf6016f87fe +DIST opera-stable_43.0.2442.991_i386.deb 51574016 SHA256 19f7f32b68ce13af7143abc729b4ae5321623e6dc24f61fdf5c40afdca02a33d SHA512 418fb03f836efea6e1baa0e37b22676427b901bb90bc71a58170d61c43dd211662127983b365213fb0bd4e61ff9e07c970f19f8bf12a16fa2f843301e409ee4b WHIRLPOOL 22ee41815b706c9b6662f37235298dfdf12f7e1b187b9b0af373c8b4bfb3f6606378cf6e33b5c4b77bbfcaef72156d812c1dbd74e12764de7e43a9794b0e8827 diff --git a/www-client/opera/opera-43.0.2442.991.ebuild b/www-client/opera/opera-43.0.2442.991.ebuild new file mode 100644 index 0000000000..579814cb56 --- /dev/null +++ b/www-client/opera/opera-43.0.2442.991.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2017 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 es-419 es fil fi fr-CA fr fy gd he hi + hr hu id it ja kk ko lt lv mk ms nb nl nn pa pl pt-BR pt-PT ro ru sk sr + sr-ME sv sw ta te th tr uk uz vi zh-CN zh-TW zu +" +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}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" ) + x86? ( "${SRC_URI_BASE}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_i386.deb" ) +" +KEYWORDS="~amd64 ~x86" + +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() { + 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 + rmdir usr/lib/i386-linux-gnu || die + ;; + esac + + rm usr/bin/${PN} || die + + rm usr/share/doc/${PN}-stable/copyright || die + mv usr/share/doc/${PN}-stable 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 +}