diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-10-13 14:53:34 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-10-13 14:53:34 +0200 |
commit | 576c03e4a41be6779936d414d9b8467e3d423947 (patch) | |
tree | 7a78cc3ce26ba77a42e32ab4ebb8b39703b31e35 /www-client | |
parent | dev-util/indent: Add Debian patch level, use strip-linguas, convert sed scripts. (diff) | |
download | gentoo-576c03e4a41be6779936d414d9b8467e3d423947.tar.gz gentoo-576c03e4a41be6779936d414d9b8467e3d423947.tar.bz2 gentoo-576c03e4a41be6779936d414d9b8467e3d423947.zip |
www-client/opera-developer: Version bump.
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/opera-developer/Manifest | 1 | ||||
-rw-r--r-- | www-client/opera-developer/opera-developer-50.0.2743.0.ebuild | 98 |
2 files changed, 99 insertions, 0 deletions
diff --git a/www-client/opera-developer/Manifest b/www-client/opera-developer/Manifest index 45ccd149d775..25127a09be30 100644 --- a/www-client/opera-developer/Manifest +++ b/www-client/opera-developer/Manifest @@ -1,2 +1,3 @@ DIST opera-developer_50.0.2729.0_amd64.deb 49245926 SHA256 dd301d299e7968015e4cd2c4752b70d259070291946cfd156a325bb830ce743f SHA512 a487999c30e76dc0f24aa4e2305d536b2f6a6f34d161a59f941006b2ca06dc6df90473a66a9d0a778b320cf19cb1ebd558da806d8f323e5f851e1b4fd0624fa8 WHIRLPOOL 6eadbc3cd31bca844f8fdc7927d880c6e80a8e2468f8110df0da4e34c7bd94395c8fac16e8f23abd281bc6605d3dc9eb98dbb74146649c2d4b58a1ddee8a4b71 DIST opera-developer_50.0.2739.0_amd64.deb 50078620 SHA256 7b90cf95784f99f4d331ee573dfeb88e8772a98f58636bcf0720414d473ef560 SHA512 40666d167537c34c189da81b49d781a48bf7529b913faf33f5e48ac9d01076e3d43c23e44b1ad3b485af56fcecf3632cf26fea1f717d2298c733e42aeb4f9d2f WHIRLPOOL 5ae1491bb585ee4644af530462cdb23f10247fd635508681381ffb978d62c704a771d4818cd6f30c743d544fea598ea9f4b08f0008f3845b406fdfffba07c089 +DIST opera-developer_50.0.2743.0_amd64.deb 50330442 SHA256 ca1f1c29ce4ef2eb8a7ab4ebebd4250c6c437ade3caf23cb828da815ff665d8a SHA512 68c897427af2bc448704005f6250d335d99d28a965bc16c7468303fec7cbb5a2146b53cb5dc27b3dbba1afcba6061bbd3556845784b222dbbc1655d7f6c00a84 WHIRLPOOL a2f8da14a9448e9c5e515a4209df4724b50a3f79e565571473bca0bbde71fd6d0acf39ba3c05d6ef8ecfcb7fa0e6bf7aa9829b42b43509188a3748ed24381e80 diff --git a/www-client/opera-developer/opera-developer-50.0.2743.0.ebuild b/www-client/opera-developer/opera-developer-50.0.2743.0.ebuild new file mode 100644 index 000000000000..e915da3167e1 --- /dev/null +++ b/www-client/opera-developer/opera-developer-50.0.2743.0.ebuild @@ -0,0 +1,98 @@ +# 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 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://download1.operacdn.com/pub/ + http://download2.operacdn.com/pub/ + http://download3.operacdn.com/pub/ + http://download4.operacdn.com/pub/ +" +SRC_URI="amd64? (" +for uri in ${SRC_URI_BASE}; do +SRC_URI+=" + "${uri}${PN}/${PV}/linux/${PN}_${PV}_amd64.deb" +" +done +SRC_URI+=")" +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 +} |