commit:     a2fc74d01381556515df8a0d0d55c7a5a4361b94
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 11 11:29:24 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Aug 11 11:30:26 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2fc74d0

www-client/vivaldi: Version bump.

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 www-client/vivaldi/Manifest                      |   2 +
 www-client/vivaldi/vivaldi-1.11.917.39_p1.ebuild | 115 +++++++++++++++++++++++
 2 files changed, 117 insertions(+)

diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index e59b415adb8..d7804972d97 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,2 +1,4 @@
 DIST vivaldi-1.10.867.48_p1-amd64.deb 49241778 SHA256 
8c861fd373536a3c0f588541c184cbfe17c903adb09f3745141eeccd752156c1 SHA512 
b2fbe5678e4c6e8bad846c96da57469c12ac1e711bb6da320cebb740f6ae7939e85d2924c4655a0e02a4a83714744815ccb8e4a1f0dbee78e7550e013218dc27
 WHIRLPOOL 
0a5c09fb57b2abaf9d1ef507e73dada892a35715b7c907b3bd17efb5a8612fda24bf47719fc473b36b0cc308a154c464b73a04a7f48c43aaf0f8eab327a87d2e
 DIST vivaldi-1.10.867.48_p1-i386.deb 50182570 SHA256 
5a8daaa56c3e0044d0bed6f2014395dd57c013380de9c68576e175aa5c55fa98 SHA512 
5d2fc1e0fcb9bc4a534b654dfebc6b6e98e86a90508616657630291b8a0fd5c18c37e57421cf1e4daefcfc688cf319765d7ab3fb9ed883b3a38c92059d2985a9
 WHIRLPOOL 
17731536518ffdc0d2bbf5da880c6dd71e9e68bf112577e33f06a494d873b7b654fdea5e77fef0f605d23709628d70f054738485e7b93cfadc040b32041784f2
+DIST vivaldi-1.11.917.39_p1-amd64.deb 50311406 SHA256 
a6ef7f1e4d0d7e4c28a2e7a8505467796d985ff269fd13c4138648afc87d4f67 SHA512 
1842327b5a589f6d60b2b9c75045dcbd9db7eacc0ea43e1e9252eb5b05cc2dab702ceebc5702620674d2276262028e0eaf9fff434f065ca3bafbd0eb416c6d14
 WHIRLPOOL 
9fc00cf6eac32c652b6eb3dd43ae231f08116693ec8467fad31a60fbdfcd53f335524d18ec5a701acfc0988add8fd3e7b82411d8e60b90527b181f87b19c7044
+DIST vivaldi-1.11.917.39_p1-i386.deb 51209638 SHA256 
f6f5c8b0158a293e3223b70c7ea5fb09542d3361c29d2bbb977f657460f57945 SHA512 
ca41f167889258dd4815dfc4bdd51ca6b18f1f64cfa16db36381e0c925bfd788b81f34ec455cdc1ac5413ad1ed467e56b588ebd0c8b1893279931156e7c7e811
 WHIRLPOOL 
ad496affe5e7f19356be92801ca0311a659023d345ba047ccf7d9e6da9e484eb8b1a1a59681874438a511bc1b69913a8dee1c4594b3949508adcf6b50d7940c8

diff --git a/www-client/vivaldi/vivaldi-1.11.917.39_p1.ebuild 
b/www-client/vivaldi/vivaldi-1.11.917.39_p1.ebuild
new file mode 100644
index 00000000000..e1012c4fc05
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.11.917.39_p1.ebuild
@@ -0,0 +1,115 @@
+# 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_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}
+
+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/${VIVALDI_PN}.desktop > 
"${T}"/${VIVALDI_PN}.desktop || die
+       mv "${T}"/${VIVALDI_PN}.desktop 
usr/share/applications/${VIVALDI_PN}.desktop || die
+
+       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