diff options
-rw-r--r-- | www-client/opera-developer/Manifest | 2 | ||||
-rw-r--r-- | www-client/opera-developer/opera-developer-36.0.2079.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 046df91eef12..647a59c9b953 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -2,3 +2,5 @@ DIST opera-developer_35.0.2064.0_amd64.deb 46017124 SHA256 1f4221dcf266cfe5a7b0c DIST opera-developer_35.0.2064.0_i386.deb 46705518 SHA256 cffb1dd084208249a2e989a4cdfc047e449a54d6557533bae26f8500b127de0b SHA512 51767d2ff8c2eaee6abee069be31984e81885ebf34604c1a5fc4a15e1a150753b6b308334ef87f5db3e1a4b83c7d77d6b9cda9963aec3482fb9d60bc3f03b86f WHIRLPOOL 502859b3c8ea12bbaf9483feac5ca30efdd8ad993c542f0d31f9e12f19c3380c4581cd060d57ae18aae3f3d50dc788d64056ef44b2aa37f197386eb71d74d2de DIST opera-developer_36.0.2072.0_amd64.deb 45379122 SHA256 e9a553903352120c7b84d8985d7c5dd52a59407cde93b15dcfbc9ac77344cb5a SHA512 fbf9b9ea2e7704681213dcecb176a942ab27907978366fe4f65fadfb8d565bad90197433a6bb66f51ee52afc011ba06981cd2b26d8ff97c85ea7f62e6484b2ed WHIRLPOOL 54e8635ed35fcc9908d690f04af553263218aea47c81a1906bb36874b815b23ad8b5a3e31aa7f4f8a46a903f6f46dcb716be415e9dcac6e03511b99cf77310b0 DIST opera-developer_36.0.2072.0_i386.deb 47196596 SHA256 6aefedb8c25d7e8e2401231b0cd228a905d6b0b09d034034cc0300ec359bc778 SHA512 3329fccf93077772517d52dfcec898ab268b5cb9fa8526738059a1c198f2bcac42dfc71a174f5bf8fc9905b8ff6dc18a1646f6e04b10675165ede080c49aada2 WHIRLPOOL 885729776ddcd644e9ada8bfe7b84299e110370591652b10c46147a19245da514492a89f8c65abc86bc4362eb9cd347142824417199d4ed544e02be5e280e6b1 +DIST opera-developer_36.0.2079.0_amd64.deb 46430558 SHA256 bbbd0a95fc0a25c82c5c41dd7d28ba67e37480d0b26b7791b05cea6a8c7a0de5 SHA512 460d8b476f9d736101085ec45f75af5d9d391ed13f702a11132cfb22c8c553b810bf9b1c98316a7f2143e2058f42fd0edc46812116a6b4c1f32e51ba0167b6a6 WHIRLPOOL df9bb13d4e28a110c654f12dbf37473eec6fe81ef605a45f1b6f5c2ba282dcbbd5b88f70fc905507ea07227fd2d3aca2162270eceb652fe9e4d4209d24c2cdd9 +DIST opera-developer_36.0.2079.0_i386.deb 47359312 SHA256 05d908ba11ce2306094da45c9ca987932bf1d578a79a6ef43b05025a200fce2f SHA512 cd161d4cd1866acba3563b806594185d7d19387a25e5439595bf4ea4c7727af3f8f8c744a655486657c95b7089f3a5a039c0b547654b57f5bad7165dc1d4824c WHIRLPOOL 90577377351282d538e2a9ccefeddf34e5eaf1031c0254ee2dd6d35c8f91e3f6ef6e6b3da7db1dc13163eebce4f5d1bfd811da21d1f5df49c130f64c98ce82ae diff --git a/www-client/opera-developer/opera-developer-36.0.2079.0.ebuild b/www-client/opera-developer/opera-developer-36.0.2079.0.ebuild new file mode 100644 index 000000000000..bfeded8ebfc9 --- /dev/null +++ b/www-client/opera-developer/opera-developer-36.0.2079.0.ebuild @@ -0,0 +1,91 @@ +# 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 + 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}/${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 +} |