commit:     60909a228d4c2477a5f8f3d27d7126a1213060b8
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 15 09:12:49 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Dec 15 10:31:36 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60909a22

www-client/vivaldi: Version bump.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 www-client/vivaldi/Manifest                     |   2 +
 www-client/vivaldi/vivaldi-1.6.689.34_p1.ebuild | 110 ++++++++++++++++++++++++
 2 files changed, 112 insertions(+)

diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 895a95a..c290e56 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,5 @@ DIST vivaldi-1.6.689.29_p1-amd64.deb 48678134 SHA256 
30befd35fb412dca44bee236b4f
 DIST vivaldi-1.6.689.29_p1-i386.deb 49029064 SHA256 
eb38c2a211ed504f046b450098dc92515ef091169e54315cb4b8d569f4f6e380 SHA512 
295e679fa37a4bb4d24690e3d2b4a78c77baca6a69cbb2def2048c3fd02b34d6501f87aeb593bba5f8356e6d265e4828fdee47c8047deba7b9b6594c4a7c72c3
 WHIRLPOOL 
35d4443a193bfc690a844439a2ca1043989c55af5ed018e9ec56c26db307f266b09c9d2efac252e4344fa9a983b1b26b30ced1ba3e983d77ee183e1c56531747
 DIST vivaldi-1.6.689.32_p1-amd64.deb 48689528 SHA256 
805f54c1038d0845d4a143c858be1aa6453e3c84667f144e23cfb60b190acdcf SHA512 
cfc6ee256309ba887ba526611e0543cf2236e83d30565cab8219e8bdbcb2a0e451a2bf5988aa8d63dd01679be5d169efd86412f9e6b72779b6d46d31de68f667
 WHIRLPOOL 
b67adffa3602a95260c9157b53cbe783639f1f3d068419e4819895ae5ee314467732c410f980a1b0cc6f556d75cc2aaaca836ccf61fee127c58dc84ae7d861cc
 DIST vivaldi-1.6.689.32_p1-i386.deb 49007496 SHA256 
0ed8b86af548ece9d476c0b8ae0908c4417b29e431741a78a547d4897193aa2d SHA512 
e8d64d9717bf143d8a3e1c3170b2a2178bad134702a34aac79ece9c5ed514d1f4e209412cb81cc40bd21a5920746df149cc28372f0c0561018fddb1ebf8d5953
 WHIRLPOOL 
4aa4c42abb9f53ac4b3328e63da2aec73d347567dbe2678574f0812159b484a22ed6b6509b5edf8aabc04b8d96f049173e7a05ba78b122dae36dcbc05f6f6bd3
+DIST vivaldi-1.6.689.34_p1-amd64.deb 47438240 SHA256 
35c322461b893aeb020f0e84400f45cef5be52c6719e74dea8f55e48bf45c972 SHA512 
6e9e051925e8c97bf163fad6a47755f0e0e6b44ffd865a2e0ed4c3167f78b369499fc48cc898d85f701ec6d61dbcf3ba4539948bd0846ba6413d3a327a709247
 WHIRLPOOL 
71361128ed8e182a2e8f1df75f1985ff39913ba62057126a1ecaf83480962fc9dcb3c8860176772e550a3e9bfcc2fb5e7b9c286f362456f39e85f7b4fbf0e255
+DIST vivaldi-1.6.689.34_p1-i386.deb 47805064 SHA256 
e02b4abd62302812bd233fabe2da30a9605af75e993c14fb0bb64cee565cfe29 SHA512 
5b4d908e1e4bcfbf9ca04244733e839b885af0f485452b4d69d65e0ece9c89f64c8d0e11bc7d4f843151bbddbba6fb6bec2e71fcd789c38919125fe79d86cd8e
 WHIRLPOOL 
2a02d0a02bf4f7c47060a806395f576840d13a0481bac6f0d6199aa66831f7d986655af9f5d8464034cf64a054aa542456314185ade0fde7efe6d7ff06713828

diff --git a/www-client/vivaldi/vivaldi-1.6.689.34_p1.ebuild 
b/www-client/vivaldi/vivaldi-1.6.689.34_p1.ebuild
new file mode 100644
index 00000000..4d62004
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.6.689.34_p1.ebuild
@@ -0,0 +1,110 @@
+# 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} \
+               ${VIVALDI_HOME}/libwidevinecdm.so \
+               || 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