commit:     f116152e14bf3af3d8b945f3b3e6105424d37b07
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 18 19:12:53 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Nov 18 19:12:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f116152e

www-client/vivaldi: Version bump.

Package-Manager: portage-2.3.2

 www-client/vivaldi/Manifest                     |   2 +
 www-client/vivaldi/vivaldi-1.5.658.31_p1.ebuild | 109 ++++++++++++++++++++++++
 2 files changed, 111 insertions(+)

diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 23d21f9..587de5b 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,5 @@ DIST vivaldi-1.5.658.21_p1-amd64.deb 48020860 SHA256 
398568f8c86722bd7937e62cd08
 DIST vivaldi-1.5.658.21_p1-i386.deb 48334722 SHA256 
ca7282b7ce4cd9c630adb6b2db921631fc918de26a101dc5554e02d1f8b97c42 SHA512 
b53d9c55aae5bb08ca1584eb17b6ebe7d9f9ba013270f201409b272a4a1124c5de3d15d5d670f9e8dc2e697ba4ad39e5dce9f8b5e215e0a41c26014066c570a2
 WHIRLPOOL 
ab378d3a08b3676c1bd76fef1a08fd5c5bc7faeb882c87c7e2b058ebe6d11d16f323435ff146b1d440a5c67f3db046f9051ef8f198ecf8312253326e60c32695
 DIST vivaldi-1.5.658.27_p1-amd64.deb 48048014 SHA256 
c4259fc3ab45a2809cda9a14edaf3e744b77200df0c21c4e7a2186e1043c5aec SHA512 
ce46e0ba3cb9e91202c82c3f4dea8fd2a182428b4949776a02c3113446a3fdde8153a31facc83865bac5abc401c040d4a8d0676fef022b10b8bd396171e05d97
 WHIRLPOOL 
69a2842dc719983e6299551f5ebbcfb395c3ea5494bd0609fb698f3a76194d045a8d1059ef78c4cb3c59e8bec584e22af6cfbea51245f0267648c8cff8bb1267
 DIST vivaldi-1.5.658.27_p1-i386.deb 48325988 SHA256 
78867c5e9122b21c8b54477c26acf4f58b24a7b4c183838e955043c511314017 SHA512 
c2e28df627d067052986f2c56885511b692f80e24aa8dbd506ad15f82da9538eb319caabd1a355e41e1d6c7feaa2ab5941e99e56afa8010bc7de0f54eeb6963f
 WHIRLPOOL 
ff307b79db8090388a5a7e47720a1e8df22eab760ca594bb9f96d818092bb2f414369da96648122baf03159cd1dc419b0989b869162688ab20a63216783cda6a
+DIST vivaldi-1.5.658.31_p1-amd64.deb 48061342 SHA256 
319ec7d0fc9adc12e365ff87e77210eda54e1678e42491811c1e3376d995d188 SHA512 
e6a9518e3028fad7e4bc9d23e085e5e61721baf015cd1190f71abf62cf6c92b4b345206b5af996329121b262ac27001b8c1dc7bd7440881b22632227746bb084
 WHIRLPOOL 
e0482b69c97028f51ceca104eafefe97315f90564692de8850ce8bcb9efaede47aa59432ae711a7e95003a56d351ec3165bea662ba2a2065f33c356bbb510e4d
+DIST vivaldi-1.5.658.31_p1-i386.deb 48332812 SHA256 
d7fa21b624310fad30503865d355f76d6a8f4bd1d2eb06d288d2f74be04655e6 SHA512 
074c5f817d663aeaa1f9ca69fece2eee18f57f6bbe2f2b0f8a975dddc7e25d6affa282a6f1a6e36d107d67dbfac7ee44d5006364d0128bbf40bc2872e25fb7ce
 WHIRLPOOL 
9e4d81ea7dfd6df0c39b14e8c097def292006a78f2ae5106bb1595d707614fa5e109f6754a7854cb2123c9640280f5d4fb3f95dfb89ebbc649ad104df7c5bca8

diff --git a/www-client/vivaldi/vivaldi-1.5.658.31_p1.ebuild 
b/www-client/vivaldi/vivaldi-1.5.658.31_p1.ebuild
new file mode 100644
index 00000000..19616d9
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.5.658.31_p1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+CHROMIUM_LANGS="
+       am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he 
hi
+       hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr 
sv
+       sw ta te th tr uk vi zh-CN zh-TW
+"
+inherit chromium-2 eutils multilib unpacker toolchain-funcs
+
+VIVALDI_BRANCH="snapshot"
+
+VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}"
+VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}"
+VIVALDI_HOME="opt/${VIVALDI_BIN}"
+DESCRIPTION="A new browser for our friends"
+HOMEPAGE="http://vivaldi.com/";
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_PN}_${PV/_p/-}_";
+SRC_URI="
+       amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb )
+       x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+
+RESTRICT="bindist mirror"
+
+S=${WORKDIR}
+
+RDEPEND="
+       dev-libs/expat
+       dev-libs/glib:2
+       dev-libs/nspr
+       dev-libs/nss
+       >=dev-libs/openssl-1.0.1:0
+       gnome-base/gconf:2
+       media-libs/alsa-lib
+       media-libs/fontconfig
+       media-libs/freetype
+       net-misc/curl
+       net-print/cups
+       sys-apps/dbus
+       sys-libs/libcap
+       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/pango[X]
+"
+
+QA_PREBUILT="*"
+S=${WORKDIR}
+
+src_unpack() {
+       unpack_deb ${A}
+}
+
+src_prepare() {
+       sed -i \
+               -e "s|${VIVALDI_BIN}|${PN}|g" \
+               usr/share/applications/${VIVALDI_PN}.desktop \
+               usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die
+
+       mv usr/share/doc/${VIVALDI_PN} usr/share/doc/${PF} || die
+       chmod 0755 usr/share/doc/${PF} || die
+
+       rm \
+               _gpgbuilder \
+               etc/cron.daily/${VIVALDI_BIN} \
+               || die
+       rmdir \
+               etc/cron.daily/ \
+               etc/ \
+               || die
+
+       local c d
+       for d in 16 22 24 32 48 64 128 256; do
+               mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die
+               cp \
+                       ${VIVALDI_HOME}/product_logo_${d}.png \
+                       usr/share/icons/hicolor/${d}x${d}/apps/vivaldi.png || 
die
+       done
+
+       pushd "${VIVALDI_HOME}/locales" > /dev/null || die
+       chromium_remove_language_paks
+       popd > /dev/null || die
+
+}
+
+src_install() {
+       mv * "${D}" || die
+       dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+       fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}

Reply via email to