diff options
-rw-r--r-- | www-client/opera/Manifest | 1 | ||||
-rw-r--r-- | www-client/opera/opera-36.0.2130.32.ebuild | 85 |
2 files changed, 86 insertions, 0 deletions
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index d90ecd29b29d..4e31f0629e00 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -4,3 +4,4 @@ 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_35.0.2066.82_amd64.deb 45190134 SHA256 5748675db2490b6d267b622db33f51a0b7d4f30af810642d562a68ba27600dff SHA512 68caa06089745c8069df87c00823b0e64931da681438c6c6ff75553467d3763d95c93ffe8c3bd857dd32f19ea91d5116d0eb7b58ec1a7216c8f59bd883c4a3e0 WHIRLPOOL 5c5202cdd8630f2b00504d5ab1a5ef323adcd6b8f6dc0c5793a7676877154402e742fbb0b2d48a10dbd18a939fde75a23437fa2a464efbf2558ea6b63f471562 DIST opera-stable_35.0.2066.92_amd64.deb 45185254 SHA256 e0a096af6ff4f8ca43954ce63a9150339ffcd27be85d8766d3d5ea41d000cc79 SHA512 8427e9d0a2651b3b6957b7704d98c68c2a508f481874fe80bf1e14eabadf0180a4321da12cadc9f46cc21b9b68b5c82009608987bdfaa9980ce1422d700fef1d WHIRLPOOL d9d13b69de7265c6632f3fa99fc970006834f7928d789d609f16b095d710ee4325357a754daa4674873a43eca529902294fea342cfedeb37270b04e7e9644158 +DIST opera-stable_36.0.2130.32_amd64.deb 47201406 SHA256 dfd556c59f5b1b415101c01856d22d4f84009cc27485d906f5062bb076df2425 SHA512 c26eb7679e70088dea486b111dae548817dc3fd32b93ee40dd7c72a95eb76c7770294a66dffdcdab1349563ffcdb8ac8f85d91136a5037cf412a0592b153017a WHIRLPOOL 70f8b2163e9621adb056bf5b60f6d88a345106b932a979ec0c89c16c586fb0c3c9170344a08c86e5c8bea8084b45c0cfbf0f0cd1b6f90964816abf1bbe4163c5 diff --git a/www-client/opera/opera-36.0.2130.32.ebuild b/www-client/opera/opera-36.0.2130.32.ebuild new file mode 100644 index 000000000000..ec547a8df4ce --- /dev/null +++ b/www-client/opera/opera-36.0.2130.32.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}/desktop/${PV}/linux/${PN}-stable_${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}-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 +} |