From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-953374-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A5426139694
	for <garchives@archives.gentoo.org>; Sat,  3 Jun 2017 12:49:20 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 7CE59E0BF4;
	Sat,  3 Jun 2017 12:49:18 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 493A2E0BF4
	for <gentoo-commits@lists.gentoo.org>; Sat,  3 Jun 2017 12:49:18 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 8394D3417EB
	for <gentoo-commits@lists.gentoo.org>; Sat,  3 Jun 2017 12:49:16 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 46392745D
	for <gentoo-commits@lists.gentoo.org>; Sat,  3 Jun 2017 12:49:15 +0000 (UTC)
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" <jer@gentoo.org>
Message-ID: <1496494122.197c3374ba8d612da05976b9332cea4533d36b7c.jer@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi-snapshot/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-client/vivaldi-snapshot/Manifest www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.862.6_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 197c3374ba8d612da05976b9332cea4533d36b7c
X-VCS-Branch: master
Date: Sat,  3 Jun 2017 12:49:15 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 711c6db3-525e-4d2c-ad8b-1eed73dc0285
X-Archives-Hash: 1e46f9ebffb7d1277e054dfa9be9b0f6

commit:     197c3374ba8d612da05976b9332cea4533d36b7c
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  3 12:48:42 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Jun  3 12:48:42 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=197c3374

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.862.6_p1.ebuild          | 105 +++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 3fe6e5e41e7..a3d4186bd54 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -1,3 +1,4 @@
 DIST vivaldi-snapshot-1.10.845.3_p1-amd64.deb 48787750 SHA256 9205655a4adab235e330424bc3f3b0a429ae39396f91c1f713e3f8488d360398 SHA512 cfa54fcf3f6c52f593fb05970bbdd0f4a0c4083d8fc129dcce95901599eb1dc61af1e27b140cd23e8afa53f7277e25b6397f11bb7535c7bd800ea98a0c72b851 WHIRLPOOL 8deacbafd1140211865a5407910d15df3d247ec2bf0b7b35ebbdac0e0af230cbad43ee5b42148b93ceeade0e439af91d350fff798144f738d2201e41c4de175f
 DIST vivaldi-snapshot-1.10.845.3_p1-i386.deb 49449238 SHA256 a4b6c81edbd9f1910aebe06fce2540b9ecfd8d34932aa2b11540940265ce614f SHA512 37185834b9a815d46bf8dac4bf5e8f216b74d17a8a3c497c4453861a5be53bbfe3296f5f8aba46850503bb7a676d8b11e008285694711b9f5cc14127ca75c123 WHIRLPOOL 4e5343244403dfdf3b93cb8ae8bca04d1199214f2a6dcd555c018dd33f1806fc9f41e9f46c60c552c67bbb72a9c361d389bf0c9bbf972f489c7ecfa0313f9fe7
 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

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.862.6_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.862.6_p1.ebuild
new file mode 100644
index 00000000000..8ea3ba0f130
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.10.862.6_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
+}