From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-948887-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 182C9139695
	for <garchives@archives.gentoo.org>; Tue,  9 May 2017 13:29:38 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 41933E0D30;
	Tue,  9 May 2017 13:29:37 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.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 10503E0D30
	for <gentoo-commits@lists.gentoo.org>; Tue,  9 May 2017 13:29:37 +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 DB0133416A1
	for <gentoo-commits@lists.gentoo.org>; Tue,  9 May 2017 13:29:35 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F8EA7434
	for <gentoo-commits@lists.gentoo.org>; Tue,  9 May 2017 13:29:34 +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: <1494336567.5e082a81daa8083d0e875b061a7e9dae1a65fc3e.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.838.7_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 5e082a81daa8083d0e875b061a7e9dae1a65fc3e
X-VCS-Branch: master
Date: Tue,  9 May 2017 13:29:34 +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: a6b7e9a9-58a0-4d86-8871-fd9a79ec2319
X-Archives-Hash: 6ec05f9c8d269e205b3ebd99e82fd742

commit:     5e082a81daa8083d0e875b061a7e9dae1a65fc3e
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue May  9 13:14:07 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue May  9 13:29:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e082a81

www-client/vivaldi-snapshot: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index e1de4efb684..474bd9db700 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,5 @@ DIST vivaldi-snapshot-1.10.829.3_p1-amd64.deb 48798090 SHA256 2e150adf26637cbf31
 DIST vivaldi-snapshot-1.10.829.3_p1-i386.deb 49421990 SHA256 14c2740a02f47adee4a3d21d11ea365b77bb126007f0a491a0a204a543c6ac9e SHA512 816b86de5c6355a3877cae01defe419d8d9f3c602fa706c0c6b85805215daac61dc4b559bece8c7dfff0e0eeeef7651b17a7313555be934592e4521166c62276 WHIRLPOOL 925e80569ebb98752a6911787ed6e6c21049c8f4060c9e08e62e9c2d8a1f9cde4b75aab32d4b3bd85463dc82abc2e616ab0e579d288c0f62c9bd6732e93945d9
 DIST vivaldi-snapshot-1.10.834.9_p1-amd64.deb 48810164 SHA256 39c9a7f019d88b2310fdf8cd3033c879bee2ae7a375960711f02977d056910f6 SHA512 7deebb75b9671f30663c36419079dc300fcd536cdbd834b00c67faffe1883614b0609a1e3a444f129feccf6b09e1a8505a950828d9989a8492da1e798ef1b706 WHIRLPOOL abf69027e45c5d07470865c293b62e69c12278fe02a821476af315c8c478bc0da58a885e3cd2dbecf23bfd5a9fdc9de9e6565609747785a56edc9df8382d1122
 DIST vivaldi-snapshot-1.10.834.9_p1-i386.deb 49425194 SHA256 b0a870ba3af9868ff85f177776808a0d6b270db2fc7c6ad9fcf85206d7f69d2d SHA512 d9719f3a5d5f87c8c88b2abd3585bd0e7bd0895b42d9ed326ed47800e4506fb252dbc18b6adfed747fed8d377969e35cdb0755235a91b7403b0c7e2563552c48 WHIRLPOOL cad2009671d5c30ac9b4863d41f6ab040e8045c037d7cdb2f0039f0244b13dfe8553f22f399b72ae5c6f17189b7095acf5541a123f66010bc052fcbc51ef3923
+DIST vivaldi-snapshot-1.10.838.7_p1-amd64.deb 48822808 SHA256 b8cd9bdc8dcdf0fe4ad5f68de2dd3884ee327b1e49bed23c13911304f9cd1734 SHA512 fdf650ea093727cde181c6a315b37c91d854520a7821970a9dd8dc04e278432818df994fc7e0564d15372e2e936e4f19477458b898e2195e9e034d6ebf2cfba2 WHIRLPOOL 82ded6a6bc9277547d7a0781094ec9e68cc600da40941425f12fe4ad7746f0fa741a67a62649ae5cec417e247b43c9b5def733a4770c37ea59240ee3b4ffe8ff
+DIST vivaldi-snapshot-1.10.838.7_p1-i386.deb 49430522 SHA256 c04f14e8cce68f5a3682cdba7a1e42a53e57f56ab8dcd034ae995dd25dd404d1 SHA512 d71e900671812e0ce9888222f3f94d03d613c39e3d457ad8259c5b74bdae9718bb4bbe0a543f6b04eb626078b01f3ef6522822720c57e3c935d395f72824a990 WHIRLPOOL d3e117069d7f107bee4a49f3549386995f4ba32e2f1c28add95c65dd92f58182f10ff517c519e6c71cfbf0e599b81aa7b8bfbb13585d5f9dc5caef47472643c0

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