diff options
-rw-r--r-- | www-client/opera-developer/Manifest | 2 | ||||
-rw-r--r-- | www-client/opera-developer/opera-developer-44.0.2463.0.ebuild | 91 |
2 files changed, 93 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index 78ae3acffd60..496c54d067b9 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,2 +1,4 @@ DIST opera-developer_43.0.2431.0_amd64.deb 50856132 SHA256 b22ba40e5e7db397ebdb702e5cc8406d9cc0c0a0c1f0a24f88ed3f7353bf6c75 SHA512 f722147957a4679842787e9f5ea1de34439964a80b00f13d43005a1f44fcf4685468c40257a5fd4295fea63e982ad6ed535ea96018c4357ed7cfdc79e60ee3d1 WHIRLPOOL 004893843c87083dead4eddacd04ed271e8796a028a708aa9ddebf51b7f38fe5168271095dc36b5166671a82df39da02c321facd5e941b08742994141e13a9b3 DIST opera-developer_43.0.2431.0_i386.deb 51787004 SHA256 cdc0e597e2981d59c8161b19e9dcce5385d9ba3ffc768610b131d75798b8910b SHA512 2bf61a7f02dac22e5982a98d557af52a05f45e842021d1081910cd29619f0f71c228c55e592b3ca95e1263c80aa707e24bfa4e29599f79d28f7b01eabe19e424 WHIRLPOOL f17f87e29927f588a0a3c5257c09326b592ef21c3181b62257ca71587aab7fa18659a3f9c908f2b359055414276badaca6f8642bf39ef77d996b163994055574 +DIST opera-developer_44.0.2463.0_amd64.deb 50539436 SHA256 9fcb7c5976f548a25cb5f358040416f0911a26a3ddcbb4db4657224de324fcac SHA512 bc26c397e9e7f6f52a19b9ffff4d3c4fc932aa23c6514a7d50be172cb2efb79805f3b1f7b3df9d4fde6dda33f04d9ec14b914b1dc2c4fec597249f7a37bdbd12 WHIRLPOOL fdd97d7f60176a9597d3ba674e79c4089c69c0525ff10006c21725a13bc1e7906df9ae02b1262ddf1a53c3c586c50c1f4ae5335411be0d47c0d7e03d905f077e +DIST opera-developer_44.0.2463.0_i386.deb 52191772 SHA256 e753098686f530c1e2d89179ef64f4a53796463cada2a1c0b0052c0c1cd397ca SHA512 967f64c6ecb5aa1484d8d8709922de10b01859d002058f47272b608dbafcfb73e66bb7944485a22531d64b7ea9dbea5f0dc54e8dff5594e4308b8d8738e5d96b WHIRLPOOL 62c89eb67e42f42acda0dfad93f1ab8ef0d80d083f85cb5f51953b3d2e5b8c0f9dbf5ae2cbe3c2178981bf2467778bdd6de93920589180d1ff2e2081ece321f8 diff --git a/www-client/opera-developer/opera-developer-44.0.2463.0.ebuild b/www-client/opera-developer/opera-developer-44.0.2463.0.ebuild new file mode 100644 index 000000000000..f05deaee1ccc --- /dev/null +++ b/www-client/opera-developer/opera-developer-44.0.2463.0.ebuild @@ -0,0 +1,91 @@ +# 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 es-419 fi fil fr fr-CA 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}/${PV}/linux/${PN}_${PV}_amd64.deb" ) + x86? ( "${SRC_URI_BASE}${PN}/${PV}/linux/${PN}_${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 + ;; + esac + + 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 +} |