commit:     7f69c0663cf5f88be14087d06d6b2f231f4a626f
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  7 14:32:13 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jun  7 14:33:04 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f69c066

www-client/vivaldi-snapshot: Version bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

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

diff --git a/www-client/vivaldi-snapshot/Manifest 
b/www-client/vivaldi-snapshot/Manifest
index 4700b78cb95..9fa21f7ebb9 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -1,2 +1,3 @@
 DIST vivaldi-snapshot-1.10.856.16_p1-amd64.deb 50561632 SHA256 
a8d78030818d361b87e727e18f9963c3137ed11f23148f6560ce0f06a7b30864 SHA512 
b79c0ff54dd5b5e81c6260b779a814ed5f856ac9ffa1bb6ee2d64918bbbf1caf443a29f82432eb4dd9107104d2c0af6d2d05fcb466d48fbd5ad2dbf63de61548
 WHIRLPOOL 
5c2aead12033c8d76421a93d2dde23db0003088e20ac6d12b6c3d1f5e894391269bf45f1450d2de9e07ae60eacecff2994323010b8754c3c0bbdfdaae1ff24d5
 DIST vivaldi-snapshot-1.10.862.6_p1-amd64.deb 50599680 SHA256 
f62fb5d6c16cbd67185579921c8d6e4df08b4841c965701b8e703722a111566d SHA512 
e6d3ecccb252d5f400c377be1982cb8d8f0eb9d936b60cede989abaa99d0edc8ff1d6b3a65db7b88d007fba1fc1c49fd750d7f4cb4f70805b8daf731cc955d63
 WHIRLPOOL 
9e9ef964c4b2673733d05b28701b8a590cbcc41b34db4061b81bd08f607c04e9bc620ac9ab6e447567c203a2dcdad29fe002777f94d017556297b2e467ad94ed
+DIST vivaldi-snapshot-1.10.867.3_p1-amd64.deb 50578840 SHA256 
29dc1953d1e5de23fa55076ee38574f27a22b81ba321bcfe3bd4a6ed8b09297f SHA512 
4642a6aa53899a065f363e5f8f1df9bcdea556ba9e69a1527a5479ec985b2ed54648b0294946da3ab9d6c304fe7eb620a5dd1d009cdcfce2452af4e8da76b5a1
 WHIRLPOOL 
f069927b047346296c570d3b8fe3554eb6a486cb019380f5e2cb4929cb72eab762f111062d1916ed6cecfc43b41f6c3997c6303f77687092b9614fdef28ea534

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.867.3_p1.ebuild 
b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.867.3_p1.ebuild
new file mode 100644
index 00000000000..8ea3ba0f130
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.867.3_p1.ebuild
@@ -0,0 +1,105 @@
+# 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 )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+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