commit:     c96a0d8d32db71a718f74466bd994bbabd54a534
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 20:30:02 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 20:31:12 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c96a0d8d

www-client/vivaldi: Version bump.

Package-Manager: portage-2.3.2

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

diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 7aa4e87..df3e28e 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -6,3 +6,5 @@ DIST vivaldi-1.5.618.8_p1-amd64.deb 46956066 SHA256 
41c5a7498123d74d14da24e24a22
 DIST vivaldi-1.5.618.8_p1-i386.deb 48523978 SHA256 
ba52a634b36ecc306f000ded6facbc5a9d21f153b8d61595e9a1c59320e17b34 SHA512 
4d37062eefe27f79208909eccb4c2de64ccd94deb2fcb4980122680bf744517e773fa339e5fb16ed7b783e3abe9fcad7c06164296fcf9a3efbb846b07cd66a12
 WHIRLPOOL 
463f172877a166edc616df72a598242f828d0bdd5620eb25df3adebd65762b9ea63ae4936dc96efbf5835639e1ac47dd47eb720e5e63d9cb668d4c762bf484a1
 DIST vivaldi-1.5.627.3_p1-amd64.deb 46911146 SHA256 
2b2bb8a33e84c96a4eb695750639eb020a7d785ca5f31d1c5e9f51a9cc7264f5 SHA512 
ca59f293a5dc41c0ecdd51d4239395a2102294f22bb26d0c0a283c1c28929c0068f6dfbc98bf0347e7d3dd5402a854b733bbf119f8df33410fdf2211a40b1815
 WHIRLPOOL 
8b49a7d8e8d39a8723a33511b7fc1cd00b14bfa00f9d0eea16f545433cd7941358d0571481b4df1c0faf11de8fa967bbf754875550859ff2baf6a283cddb22db
 DIST vivaldi-1.5.627.3_p1-i386.deb 48574522 SHA256 
221162ca6da7451004338240e2c647e6bc9cb4521aa8abaa1cf9edd566083293 SHA512 
57b5c4a3a53a7e4099007d082c4d4689a3274dd7f7bd2ccb1ad6635c01d9287df8c9091ef1d306686b15f710cf964f109e7d272a90cfb046c823cc7dd8048708
 WHIRLPOOL 
90119c9c1fa8292d05f4f1bc1d9b61879c7e0497c6111d63b690ed4f1d071301f7e8724d6d3d1b1f5c99b2c65da7e2e40218a4b983fdb9ccdfd996dcef02ec25
+DIST vivaldi-1.5.633.16_p1-amd64.deb 46849638 SHA256 
7d6a7fd15db609281f67c5188d765cd2eb225dbf7a7fcdeb7349030b21082fe6 SHA512 
eda1be6a2d41f91f0d14061eff6d0167b6b9645ae22fea35d55bc65745b6a816f33936c5a077a7001cf4b8fb4ff4f488ad0fee9a8d7053f76ba3f86d053f4cf4
 WHIRLPOOL 
d171c56178a6dedb9f53e534c33cd5ace0006a7f56c1c06e90d6ee758466f7c22082332704e7ea883f8d740f2c6e74ca1aa4235eedee51c8baca897957351f8d
+DIST vivaldi-1.5.633.16_p1-i386.deb 48471168 SHA256 
40ffd38faabb0b79a4caf2b8411a6d3307597e667b48852dc85d707bff19b981 SHA512 
c1c2b475c201144c90bac6bdb92127737b1ea31f9b92ac3564697dbb321320af9e53ead06b29b94ecfdf587e267a64e7b6bedaa5aac048a498e90aab8d137039
 WHIRLPOOL 
7d832a0b5ed986923e96841a5a547dfdd026d9d84b80afbdc849a435e03d3566508c7fd8ca5d52079ca3a7b7916bd64c897241af3a0c6e8873b4c09a47174bb7

diff --git a/www-client/vivaldi/vivaldi-1.5.633.16_p1.ebuild 
b/www-client/vivaldi/vivaldi-1.5.633.16_p1.ebuild
new file mode 100644
index 00000000..19616d9
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.5.633.16_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