commit:     13cd60cadd08ebbff0a8e79ce3fae7cd30f58fa1
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  8 20:09:46 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Aug  8 20:10:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13cd60ca

www-client/vivaldi-snapshot: Version bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 www-client/vivaldi-snapshot/Manifest               |   2 +
 .../vivaldi-snapshot-1.11.917.35_p1.ebuild         | 106 +++++++++++++++++++++
 2 files changed, 108 insertions(+)

diff --git a/www-client/vivaldi-snapshot/Manifest 
b/www-client/vivaldi-snapshot/Manifest
index a2b8c0991b8..b6885bff934 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,5 @@ DIST vivaldi-snapshot-1.11.915.3_p1-amd64.deb 52576116 SHA256 
d17e0b759a80a5b7aa
 DIST vivaldi-snapshot-1.11.915.3_p1-i386.deb 53679984 SHA256 
0074aa4cb17edd8405f16609e023cc34653280e342efdd90926777196f112a7f SHA512 
c1844787dee3144f5a1f7835e11aa7517d25ad0d06ea89a7aff5363f0b558b5e092d26cc0efb9bfa381b13ed893bf1e636dcb939912b3bd2fd172a4c75c15698
 WHIRLPOOL 
07c223d44b4e56561740ab417183a35cc90490d65cd2e5e6fc804dc0b8a96b78b1f6ab08175c6ab67a161c0b7b175abaf700f4ce1e88c2ff7ffa49b8b2c67b5b
 DIST vivaldi-snapshot-1.11.917.22_p1-amd64.deb 52630110 SHA256 
fa992ead8bf0d06afd90787a89ab7b056f18e24cc643f093d2c3ee66b7c36f09 SHA512 
9bb832fcaea95e45176c46492f937bcc1a798050849cef37ca111f110753585148b6badf66f0c79ffea0ddbd42b6d7377db6fccd23e7ea0eed67666defe8c909
 WHIRLPOOL 
99038969d1be2442407e7c9a378e1457ba29baea300b11f5a77ada2673fe0a9e3bba75851480d0f3c6b83939bdffe6ee574ed3fe52c12f127cb560b53bae6431
 DIST vivaldi-snapshot-1.11.917.22_p1-i386.deb 53673164 SHA256 
c958df7f3f016e3d93680e3314a2a1459cbef1ddea7c3966bcafa72a01f82598 SHA512 
96a48217d1cc5fe6f9b6b95a11486c80271bc8b5db5d0366204a340fc21692c316d373597976da9fd76242c5a8fabc04b8328c6553109dd2bba6419968b146b5
 WHIRLPOOL 
077a3962c878d5f5768dd5fca5cc4124a7d832df7f5021579ec6433a00d4b687e3898a35ae3f69195642405c561b8d9b6800cf81acd5c4edb6fae779a3b8ee68
+DIST vivaldi-snapshot-1.11.917.35_p1-amd64.deb 52655480 SHA256 
af8fe1b44b6fe15633b9923c518d1499a3035e314ced42f51400bb53dcdab438 SHA512 
621a992e77948df16fbe4edb4f70ea6b1c0b2d97d1be3af4e8626fee89406effb53c86b566dca1901b4e8f046303898329a5e15b0bc0f33b9bdaed4642992a47
 WHIRLPOOL 
a385b1277f5c29bd286b57a4271d182c7fd244d15484e5b475c9a54949c29450d1620e349c7d13af3e08762f2256a3e225e1c3f75b1079dd8900b0e3c85a559a
+DIST vivaldi-snapshot-1.11.917.35_p1-i386.deb 53683816 SHA256 
425d711b9891e70f941de4217422a2414e95ad526c66fbb5c790ce4bfd866bb6 SHA512 
8666556f86156f629bbec445fd849842f7c13ddc13377f5665bc3efac847ef899e7af8905e866d57b1032a7121b75383471bd65759d3f4427782e0c5c2aa97b6
 WHIRLPOOL 
68cfe0450cceda6d3362f1b9d9c31e69448e56b06eb96294fbe4ae47997982dc83dd9373f73a7425b20eca2ea49722133290838dca076aaba520ddc3c2fc73a9

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.11.917.35_p1.ebuild 
b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.11.917.35_p1.ebuild
new file mode 100644
index 00000000000..7029ed11060
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.11.917.35_p1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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_HOME="opt/${PN}"
+DESCRIPTION="A new browser for our friends"
+HOMEPAGE="http://vivaldi.com/";
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${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}
+
+DEPEND="
+       virtual/libiconv
+"
+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() {
+       iconv -c -t UTF-8 usr/share/applications/${PN}.desktop > 
"${T}"/${PN}.desktop || die
+       mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die
+
+       mv usr/share/doc/${PN} usr/share/doc/${PF} || die
+       chmod 0755 usr/share/doc/${PF} || die
+
+       rm \
+               _gpgbuilder \
+               etc/cron.daily/${PN} \
+               ${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/${PN}.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}/vivaldi-sandbox
+}

Reply via email to