diff options
-rw-r--r-- | www-client/opera-developer/Manifest | 2 | ||||
-rw-r--r-- | www-client/opera-developer/opera-developer-37.0.2171.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 c50ba178079f..4b821415e99d 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -2,3 +2,5 @@ DIST opera-developer_37.0.2157.0_amd64.deb 48283416 SHA256 aa664cddbbb9bd5802e2e DIST opera-developer_37.0.2157.0_i386.deb 49518890 SHA256 aace6b943dbd0ab06bfa5d237435619259f2d94b726e658eb565361d82b92465 SHA512 59f4424d7700222b002a360209a6b9c3f42d0d312aacd2ab84c369f8080272f93916cf9f429d8519ba68328ce6c21bceb627550c0ab8e119221cb7a58f5ccdb1 WHIRLPOOL d481577974a1296d6066fe91f02213feb8179a79d4d79b69c779a3e50b8ff96011996bc2d9158a46cc352f6a0565f93ab52df659e63315e5315b253c701cdcc4 DIST opera-developer_37.0.2163.0_amd64.deb 48160842 SHA256 b201bfeaf0393aaece2240be41e8245f8e0503dea73273ca9b812c3c7e5b0475 SHA512 22ccdadbed6969678e0cf5825817936858a99a38d9e18478ba0fe418967d594f711c66fc23516259ae4304b7c3db032b2f62567caa54deb21598efdb50f39366 WHIRLPOOL f4b5f473d4cf5a034cb04cc8b95133b746cc8c08e2939c63f5ebda15b35e82ff6a762469778d601491a6155ae97422a7cc3ca9c20c7cbff9d60b0897a788c502 DIST opera-developer_37.0.2163.0_i386.deb 49901086 SHA256 317fe82a10c1220d87d142588908d0967d36fe641e633bd1799cd771f66357b4 SHA512 dcd03d816ba7d0c96693809fd5fc1e8c3920e09573c6ee6e00a8da2c8548be4601eab98a16023de39afcd7b25cfb54bcc5196503d79c7cea63333df5b8916920 WHIRLPOOL 9752c5e169dc9e3356e35cba87aa67a394db73863f9d2efb3d2ee0cd91b891a8338bcbf7f2c4db10e79f62f978340b097d91ba8f559ac0f49f0d0560d7f4ff87 +DIST opera-developer_37.0.2171.0_amd64.deb 48391146 SHA256 c67132a44e10d1851551c2364a8fde4a92152cfb0b341909d1a5fe1c029db031 SHA512 933abe0aa407f597dc2c93300925f1fbebc609e330a6045060c7e6b9f485ab8957978b7b8c5fdae7835fabb76ca3f1e92515f38e202e74a3f94549e10e74c6d4 WHIRLPOOL 78b58ea44ec8be97a3b8357e75113d0b520eca7d9fc4d503025aec753c4a64e7c3e0980ea3b4b8cba27b1d88cd41751e62f9e95c91a482c45ddc31b4a8f957f0 +DIST opera-developer_37.0.2171.0_i386.deb 49940954 SHA256 aede5de76cd1265b215aee45009e573db6689c5afdede626815ccc08f6ee3af7 SHA512 15958eab5f02054cb5bd2ba8cd4dc49fbc153681165f903b5375abb9f154b995983fb6a5596c0c6371e434bee7369132b18e697e2775eca7de4c54b2c46daadc WHIRLPOOL 2798519f8df88a86c84370ca88d9cd3841c1cc54810269b111e47db2c64741af3b472c1d5aeae236115af060ff9b8e0781f3753dad16adcbc08165f50100f71f diff --git a/www-client/opera-developer/opera-developer-37.0.2171.0.ebuild b/www-client/opera-developer/opera-developer-37.0.2171.0.ebuild new file mode 100644 index 000000000000..bfeded8ebfc9 --- /dev/null +++ b/www-client/opera-developer/opera-developer-37.0.2171.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 +} |