From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-971393-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 03CBF1396D0
	for <garchives@archives.gentoo.org>; Thu,  7 Sep 2017 20:33:53 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 656C9E090A;
	Thu,  7 Sep 2017 20:33:52 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 334E1E090A
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Sep 2017 20:33:52 +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 1A9DA33C770
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Sep 2017 20:33:51 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id ADEA58F2B
	for <gentoo-commits@lists.gentoo.org>; Thu,  7 Sep 2017 20:33:49 +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: <1504816425.44849bd6742c9acf7f1783ba60cfaa80d2fc117d.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.12.953.8_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 44849bd6742c9acf7f1783ba60cfaa80d2fc117d
X-VCS-Branch: master
Date: Thu,  7 Sep 2017 20:33:49 +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: 655ef597-5e8d-4bcb-b9f7-780b72680848
X-Archives-Hash: a6c958bf13cc72a43b689b405760969b

commit:     44849bd6742c9acf7f1783ba60cfaa80d2fc117d
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  7 20:30:27 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Sep  7 20:33:45 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44849bd6

www-client/vivaldi-snapshot: Version bump.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 9748dbd3509..f3bf38a82b5 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,5 @@ DIST vivaldi-snapshot-1.12.941.3_p1-amd64.deb 52635142 SHA256 e016e15483eb2a1228
 DIST vivaldi-snapshot-1.12.941.3_p1-i386.deb 53712710 SHA256 e3f478e841beef62e83dac1c4c08f5e55bf878041ad5a592bb9e1349a89b9e38 SHA512 5f1f107f91e8a62dd6836c94b9a6b5c14bce42f670c2bdcdd74e15a4c129fffea46ac5678703de41ffbed0de847cf15f978aa668257dcf5dc0d9890f3ac0463a WHIRLPOOL 61e966c9de09e7157721c48b353ffc78211c937d0f80bc53b57ff33ae0d037dfb4c66afe129c8ac5e0139ae4478a635f8941e30407434a82c1d9158480369f08
 DIST vivaldi-snapshot-1.12.947.3_p1-amd64.deb 52732106 SHA256 45acc962addc873743f277af4c60178e6c27a0847b44667befa13a8166a77a2e SHA512 db5fea6e4f08cb5163039ec7e6847a99eb325e732733b941f2306fff88d71e67f384acb4c88478f158aecc3619cd3b3f4f1f7d4f2e5ca89d8061fb9652a5a8e7 WHIRLPOOL 68b60bcef83af32f9bb41fb230735ce91fb8719b76eac8b73715efcb658f8f01ec387d80d03fadcb4dfdc4f2fe45455bffdaeef93e283e8e542c80460a5bc3b6
 DIST vivaldi-snapshot-1.12.947.3_p1-i386.deb 53760034 SHA256 7988ed563abbe017134e55414e5d3720d33de9d26ba26542934d07c34d5080b3 SHA512 a9a958fc87b347d2ae339f93aeeaa05727d2a2f64668190ce0751ff2cfaedfdc37db369a224f98862b1baf0f3379b19fb6379d7adae66307a84b4e53bf397bb6 WHIRLPOOL 3bce70d9c72b2e2135b1db3800e7e5cfc136d228d752578fdcccf232f3cf340adf15971ef36e95a8de1ffe615c6abb9d3e33da8c0b293d215956dea3cd75d5b7
+DIST vivaldi-snapshot-1.12.953.8_p1-amd64.deb 53568350 SHA256 c4e1b3d5d4bda706c7b1e9aa02a18721ee11adf783e369b18fd21c17843483bf SHA512 57e7eaed0e9b35c241fd50b3a2eda4a15c04412af675066847aef615f323d9c44a0e68b54406ff6a2d8a0135004baae58622c7500d961b9922532696a39b65a5 WHIRLPOOL cf19e2f9d640d8ee9f1c174f286f92a434c9bf4e5af8e5b9c20b146d234a56c9c301bf27d92d8b64765b247705bbc1ff3735185ad44398dbac0fa9e5ced5cdf3
+DIST vivaldi-snapshot-1.12.953.8_p1-i386.deb 54870104 SHA256 2dd9e81cbdb1485e18f05ef4369456ae01c6db1b98cf4c903a2be6c451692393 SHA512 404fa87770951c1d979902233b102ceb7ef0c9585754a673604baef708edab9938a989a90a221b9285a3b5538b40e330cb72f1a677693125ece1cbf480f9822b WHIRLPOOL be39a1c15985e57df0d2fff550b23e876142757328f00e4854ae9cd2d04f36bac1944ac4ffc66f8c97130a21dbad964c20c3d4d7426a4f74d66245fd6778b51a

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