diff options
-rw-r--r-- | www-client/opera-developer/Manifest | 2 | ||||
-rw-r--r-- | www-client/opera-developer/opera-developer-45.0.2522.0.ebuild | 90 |
2 files changed, 92 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index 5dc55d4f91d3..5cf5b2884815 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -2,3 +2,5 @@ DIST opera-developer_44.0.2494.0_amd64.deb 51405332 SHA256 1f7330383da3ebc47d66e DIST opera-developer_44.0.2494.0_i386.deb 52689638 SHA256 19e585d738926e6e5cb546d6081e55d8d265aae76f61a962ed5f059cb025d4b0 SHA512 47b07b300266308a933c3ea07fb80f6a3a0239af04df76cd87c5e55d65d63e6279c2a08032c92485ad3674967f6ffdffbd4475c967c85ca27f8820265d6d616c WHIRLPOOL 5e9bd1fc3e068f05e337fd97e091437f6193c517dfdce8e0c63a27e4b44777d54f1400f3f4f79532c94ac789cef0a666e1dbf84efb2169a0288ea7f796a5bbf9 DIST opera-developer_44.0.2505.0_amd64.deb 53214492 SHA256 914df980aad53c26e26195e650be1f1560439213e1f68162ce1cba6698009470 SHA512 188a0807d02f0f5ddca0c223af17bce2cc3972421bccd322bc48bb363f048aaa64523458d4afd066b3f99ecd9ed03fab9951ce402ba34a4e8ed3756329ef2d50 WHIRLPOOL d87752cf3624e6a40dcca9735e53e1262c46c0125a4c6ff660ae092f1446d66c1c4612908dcbbd94c34da5b0a4810ab9704f5bbcd1f78c5a243a38f15b9047ba DIST opera-developer_44.0.2505.0_i386.deb 54652094 SHA256 0fa29b9b7f6fa3f1d0ba26ab76396a3717f45ec43bbb3bff7051f10f284f3364 SHA512 f1521703782c13cc9cec83bf63a9a9e9517a5d934b2e5bfcad1f62d231fc8c49783e35997271230d2453ef128971245511ee6932c09faa655db822b8f2ca8d2f WHIRLPOOL e777f50346535c9836125d971dc639b9373901ce53c86a594c8165d4eea640001f03a45975e5c27463192ed7bcec78578c17b1915678da21b68b27762c2cf543 +DIST opera-developer_45.0.2522.0_amd64.deb 54315348 SHA256 59c3980b62a47b5f36d13a991c62b2d103819f5e949167c2b0498d77bf94108d SHA512 7a51db2960176c0f9024b44132dd6529777b3e0d0016aa0f67261c7a0443c38df63b8eda92e95f533a2a2d3b28f2020f8e972a54dd800da6ad263ed18b24176a WHIRLPOOL 80a0b48c993d641a32233d0b631bcd16abcdb2dfd7951fb2c13e7a09abaebacc3edb8ec77c267007bfe5ff08f57b86c12b1231dec8a01ca2f116ebf910d9a6ba +DIST opera-developer_45.0.2522.0_i386.deb 55237934 SHA256 db68a08e2d61beecda32a52d4a3032ba6f11f717a327c2fcf77174389e28d7b6 SHA512 769e69ee8af1e15a93b8d7bbb84ad14e6dc11146a6d558f7347e47f06b99b213fe473d7291f6b87d8310b896b834f311cdb067b5d5778bc727522c48e1331bd5 WHIRLPOOL a1d69509d4054aa6d8bb86fe82763fae6aba2ee25dddde2698f32b54c62c81b103de89796f109858f2c8aab540f6288c75abee352fe6ae42d45b0a3851a6d3b6 diff --git a/www-client/opera-developer/opera-developer-45.0.2522.0.ebuild b/www-client/opera-developer/opera-developer-45.0.2522.0.ebuild new file mode 100644 index 000000000000..8cebdc23a22f --- /dev/null +++ b/www-client/opera-developer/opera-developer-45.0.2522.0.ebuild @@ -0,0 +1,90 @@ +# 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 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 +} |