From 7c9411dc269d19b41fec5c14fba7c94a4d08380b Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Fri, 7 Apr 2017 18:45:06 +0200 Subject: [PATCH] www-client/opera-developer: Version bump. Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- www-client/opera-developer/Manifest | 2 + .../opera-developer-46.0.2556.0.ebuild | 90 +++++++++++++++++++ 2 files changed, 92 insertions(+) create mode 100644 www-client/opera-developer/opera-developer-46.0.2556.0.ebuild diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index d657e2d56c3d..d698b355048d 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,2 +1,4 @@ DIST opera-developer_45.0.2548.0_amd64.deb 53611220 SHA256 76e1b6740fcc515e0a73d69f4a8f0d6c1d4fa58dfd3f9030857e7180cefc7018 SHA512 8e91f72bcf20617f4a2e4c90c6c896c12275eccc7e1eb38a3be71bdf490bb77d840871ee8cf7e0f6d968a9a11df726f74929fc80807d34f3e0b05291186f4b3a WHIRLPOOL b407d51c26baa1ce78032d01d0dc74f1c21d204259f81600a2b2deb00073fefa381abd007583acb00447ba7d570012216d2d31531b2c2d0de1903883d5b5c24a DIST opera-developer_45.0.2548.0_i386.deb 54570238 SHA256 b6174e089246974199ab4397a3bed36687aff2c7ef0aa535ed916cc6d087d528 SHA512 7efc8804f9380b9639f8a8f71d22e9a4d970254930f0fbc5436740c716849bcd0197f039698ed2cc98ec99859ba3afc47fbbbe44fa6a2aad47eb2d9ae8540358 WHIRLPOOL ae710d2bfe36e2a954075b2c72fa23b7b9589572bf52dfa7c0767b7d9368d23af000157aea3c82b4fb00ee2bfe2d2ef12f6028a9019d2054b5f954b5073ff0ed +DIST opera-developer_46.0.2556.0_amd64.deb 55354096 SHA256 c3981e5da781add7009da0914d0b3f5cfc895b6d86f45abf2fa1dc98dc884236 SHA512 6786a8ff28c7d3a90c1ab674137a396707b72495339edc80a29bf4b2216d0afaf457c79b12ec917629b5f8349cbebc4e38b8c1ec3387d54cbc06d978df800296 WHIRLPOOL aea91226762317eaf3e7cabf8d08bbb087c9b892a5fec6fa495cde445d0710d94a01dd8460463af3cbfd1de0affd5cee6cf4c8d66c4fe079e17edbecdc11bf3c +DIST opera-developer_46.0.2556.0_i386.deb 56670214 SHA256 62eb26fda36973437aaee184eb724b1fed533ace2c35c65e1e9d2ca0c624918f SHA512 1c83ca72364044a67958abd2e51c6a677872b5e1c22602a223f2e49219bf3cce45aba24991193c5f8b9d6e99f72e2850cbe15afc286df2f4237971f671c37231 WHIRLPOOL 15dcc65aefb97d1dede3d122195a580567ad11c0c72d2d8d68117a923f8ec380fce3eef734876e5223ce848733d405a5bd6356bafaa036eb9b00859ad3191e85 diff --git a/www-client/opera-developer/opera-developer-46.0.2556.0.ebuild b/www-client/opera-developer/opera-developer-46.0.2556.0.ebuild new file mode 100644 index 000000000000..567108303f48 --- /dev/null +++ b/www-client/opera-developer/opera-developer-46.0.2556.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=" + 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" ) + 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 +} -- 2.26.2