diff options
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera-developer/Manifest | 1 | ||||
-rw-r--r-- | www-client/opera-developer/opera-developer-46.0.2602.0.ebuild | 89 |
2 files changed, 90 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index 019d92bd53a6..63eea386aa06 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,3 +1,4 @@ DIST opera-developer_46.0.2573.0_amd64.deb 51896654 SHA256 5d3442850e2720588bf1403d668e3346daa093f33c2ee004fd97bb1457c48e81 SHA512 23a21fc27646dbfb1f674fa77d9843b35bc64bca6b459151a9bc976597a551c7d1673db8fdb42511d5b17e482481e6916ef2cecf8d5c77cdff95d4120e7da703 WHIRLPOOL 5c35a9a9f21cd493500370ac486d81a77e5737bf1b4e99eae2424f08f58210fb09ca2fc767495a28f3d0edd6f4c74642d63431670771a4764edb99d8efc725b4 DIST opera-developer_46.0.2573.0_i386.deb 52826204 SHA256 d0b2d4d7ddcadbcf1e426ccf0e56d7f28d2455a63067354e0eadf02015f97941 SHA512 0701a8e95c054f3b3024628cda91c30e0f66e17708451dc72f016da5eac15bda763987d576bdfc4e9f90c57ca8b307f920ed7fa0e13d6188baaf6eb11eee609e WHIRLPOOL 0a988115d343c04b494175f1aab959286567757b89bb4463242f17e7d4fa4ed6096cefcb5c6954dfe819abefd29bb0539f28f15e8752b6d96464ab1f4ec65101 DIST opera-developer_46.0.2590.0_amd64.deb 49148018 SHA256 a53c6dbdfcfe07b0b47086f4aebffff65ebfbf3645eb34819d8c505672ab6a2e SHA512 ce198746db0b1ba1de5fe8bc3321b18a850ccd279fab3232f6edc68b13e33fa74fec032e96853ad3f4cbc3836e4c380000db1515a9fa90ed7b0c0c31ac5bf11b WHIRLPOOL d4f8f56a56914907410e4a79056ee3bbff66211c76f80d3eefaaf94c2146931216626d830ad9204c217ca5c2efef9bd8b7e6cd205fbc93494e963bf9c976599c +DIST opera-developer_46.0.2602.0_amd64.deb 50424592 SHA256 1a949e4f136dd0896d0caab51a092b51c32420c61cf6f651f2a41bfe4a564b45 SHA512 9cb320a36071c1af763fe47a6751abfa0c4788d128c530f97a231c3c926addecd244d54f66b86ba4fe569f26befee5d35c3179446d15053646d23b4ceba6cb15 WHIRLPOOL 23baa3e824c9f02dc4182422160f3ef5aaa7ae9adcabb2d16f323e99f05dbf8e5004c8687e0617c4231feee6b395a03d0ede6dd8665abba4677e081479755a55 diff --git a/www-client/opera-developer/opera-developer-46.0.2602.0.ebuild b/www-client/opera-developer/opera-developer-46.0.2602.0.ebuild new file mode 100644 index 000000000000..75d0b9628bcf --- /dev/null +++ b/www-client/opera-developer/opera-developer-46.0.2602.0.ebuild @@ -0,0 +1,89 @@ +# 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 es-419 fi fil fr fr-CA 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}/${PV}/linux/${PN}_${PV}_amd64.deb" ) +" +KEYWORDS="~amd64" + +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+:3 + 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 +} |