diff options
Diffstat (limited to 'www-client/opera')
-rw-r--r-- | www-client/opera/Manifest | 2 | ||||
-rw-r--r-- | www-client/opera/opera-45.0.2552.881.ebuild | 91 |
2 files changed, 93 insertions, 0 deletions
diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index f53239c703fb..73e3fac53131 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_45.0.2552.812_amd64.deb 51210560 SHA256 39ba2340cfc5752db90ed1118681cdfc07657df061eaace49ac0a1b91492c175 SHA512 169204956af765c86d2158302cb3a9eba7d44b0a3e5d03599c2e010e8eb435e5cab4667d4430e401e910f1db6e2f6ccf9e05bdbd725dbd0d2be6a11057ab5332 WHIRLPOOL 35754530f0f6881cbbec857daf79221d2093e8b6eb3deb80dd0b28bf897de1905d85a09f79ec89ffe336523631e94ecabcfb540c1ad908eb3553e09524a32b67 DIST opera-stable_45.0.2552.812_i386.deb 51856542 SHA256 82566f9fd4e76c0adf765c4d6ba194ae670298ab77ca7bcf6f0aed21393f1062 SHA512 a0880c047ed3ead1adda69d1df2d0a406024211f3e14b0da04423d92cf2c3f8093e8ae74a9443b3b6a9eb4820ce51ad58674c94765dd985f950ddbfe5c4d1d51 WHIRLPOOL dfaff8ddbbed9248fb8bf4c40530f88950b0acfb2733ce509dbab775c7fa32df5d9b624bdb0afae7d31df289550d28793924b5f5a922a50ccc307f8dbf944e9c +DIST opera-stable_45.0.2552.881_amd64.deb 50634394 SHA256 ade69d265e81bdb8328ad16165f14daa6507c02aa4131bf3cff538600ca12b9d SHA512 d4dca0ab70a815ad7940a9302817a793e0e00d59538375165e2bec88835a39954ed2e5e2536553d14df075bf0be54f74496e938d78e6a74bae4ae2db03bca352 WHIRLPOOL 3d6b6915a7140cec7d674ccd576cc1c5e4b0d6234456427e388a8c3778007f2e2f7c169e15724fab0b3cdfef3c4c8369063e72c6f028844351c1c241b0bf854d +DIST opera-stable_45.0.2552.881_i386.deb 52115274 SHA256 8d67f43f38db1905a7649c168ed978c2e5c98d8cf09842473ca223d1f43177b8 SHA512 621e3425a229ea06e24735f794df152d4a8d35cee861614e485d8dc9014d651d02f07f011aef66a586c8d313f7f6bea794835935ef507286986bbb618478a27e WHIRLPOOL 5fd63d5b5108b3790818ce0537309351a77af14768ad582adf9f775814dd409e3f9af29781bfc71b901fac2ed6b9a566b3aa982cefb5bc375a4755dbc167990b diff --git a/www-client/opera/opera-45.0.2552.881.ebuild b/www-client/opera/opera-45.0.2552.881.ebuild new file mode 100644 index 000000000000..c8d3552bca19 --- /dev/null +++ b/www-client/opera/opera-45.0.2552.881.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + be bg bn ca cs da de el en-GB es-419 es fil fi fr-CA fr he hi hr hu id it + ja ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi + zh-CN zh-TW +" +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 + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + net-print/cups + sys-apps/dbus + 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 +} |