diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 2a7ac4d02745c..65489e01b3e22 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_44.0.2510.1159_amd64.deb 51533708 SHA256 6e90f1794a152cf1990300bd087502642117421e2b9b5f1b9f88455f02b188ee SHA512 7bd8107b51a34dd13aea2e76bd05d278237aafdfbdccbb7ff309e9d3d81b4bd3c8a523964127d4581a276a8585a6bf22bd4235a5261589aff798e6cb55a1b5dd WHIRLPOOL 7a10762dea7b76d092ada8dff06711a545823c1c95a4c2026c1d7b19c0d7df76303ac90e6aef8eb831bbf24e8d926ef8964e2e5f7f021d1ecbf35136ebcfd593 DIST opera-stable_44.0.2510.1159_i386.deb 52676010 SHA256 9d729d5094a5829bca5ee51660eff0f151811ca4d53b9a38c980feb04f7399b8 SHA512 f62a4c0a398e1d112ccea3526362b4354c253531bf9f089e39d92e3223e6ed9d9429f499823f3051e1df67b4ae8e2a00859cd9cf4a4d0b04007eb6d8bf92b30a WHIRLPOOL 686da43f639f835d07322dbc0c4851273df660af726d26db64b2ee201a0b323089424d0b5fb1591d11615b5f9897d2647473a7fe25e4467b6fe6c06457f3fe0d +DIST opera-stable_44.0.2510.1218_amd64.deb 51526800 SHA256 7b2294dfd8b54fa1c3f36d52f2f5be0ca86f03355db7b21053fa8005001f62c6 SHA512 5a6823b7d9822b2cf2f983d5583eabc5b526fbd621d02f853b7b156363927c6bc20223b42fef52e6684b42a06df4f457eb5cac926fd6a6014f21319515af3e08 WHIRLPOOL 883d06ca147e7a7a8c52db572d62ecc5f9ecd242975e9a489ff5b6ce8486cd51704c7baceee6bec61f1b149f57248f777ef19d58cfa59bb56003d0aeaedad52e +DIST opera-stable_44.0.2510.1218_i386.deb 52755320 SHA256 c483f6a671e33bee80ffb0d774bc73c7256d4e2914bc8a9ad40c108a82346e50 SHA512 48d2b26a7e37c71be661c57fde5806b652c6b6a60d34268c1f92aa3843c30440d5926bad191dd98862ea2c09569e9a7f0c09ca9decb7b191b5bd9e2acc8980cd WHIRLPOOL 1ba98481b90beba4e8a5c8724add5aff8eb84e78ce2e5416ef38b17dca8ab8e89874afd7af6bf554f390d565d447f14232641f34b88fb73cac3e4b4ce1a7604e diff --git a/www-client/opera/opera-44.0.2510.1218.ebuild b/www-client/opera/opera-44.0.2510.1218.ebuild new file mode 100644 index 0000000000000..e1fb929feae91 --- /dev/null +++ b/www-client/opera/opera-44.0.2510.1218.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +}