From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-970073-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 C4B5E1396D0
	for <garchives@archives.gentoo.org>; Thu, 31 Aug 2017 14:42:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 02B281FC041;
	Thu, 31 Aug 2017 14:42:32 +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-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C64191FC041
	for <gentoo-commits@lists.gentoo.org>; Thu, 31 Aug 2017 14:42:31 +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 562C133FE74
	for <gentoo-commits@lists.gentoo.org>; Thu, 31 Aug 2017 14:42:30 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C85688919
	for <gentoo-commits@lists.gentoo.org>; Thu, 31 Aug 2017 14:42:28 +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: <1504190460.3e1572985bd44249df2a80fb60549f90e758e3fe.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.947.3_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 3e1572985bd44249df2a80fb60549f90e758e3fe
X-VCS-Branch: master
Date: Thu, 31 Aug 2017 14:42:28 +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: 6b3e0f3a-7032-46b1-968f-497dbca2e5f3
X-Archives-Hash: cfeb546d3ce257cee278636968052f62

commit:     3e1572985bd44249df2a80fb60549f90e758e3fe
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 31 14:41:00 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Aug 31 14:41:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e157298

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index d29ae6ac403..6a514950623 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,5 @@ DIST vivaldi-snapshot-1.12.936.3_p1-amd64.deb 52653384 SHA256 c4d02329af0ae3cb5c
 DIST vivaldi-snapshot-1.12.936.3_p1-i386.deb 53724762 SHA256 94991dade2ef39288956937760204a7b75f84a525ef06073779c0c0a47b4ce5e SHA512 3df17da20080a82132c0d571f1ff831057384ae47f7c710c222bf5ac08e008129a469d0fe583a2b049c7db7dcf80e1434da00258578da651adc48f85b1ff1414 WHIRLPOOL e8d0f40d54be1a9d47da315c197ab04268f28ab4f9a19d58f09180dd5ef9d20f1339cdde946ebbc4fa916a4c334c72a48f0e462b299ad48936044236efa5bd13
 DIST vivaldi-snapshot-1.12.941.3_p1-amd64.deb 52635142 SHA256 e016e15483eb2a122833d3f0fd6af38a32789b0af214a58af586da873f458e96 SHA512 9e6ea47efe326536ffd39b564cd18421fc8e6dbc82f00ecb34d282c275fe076f15d73c7d9f11334b8cdb0b2a028557c1e784e9cb6a6523feed5bb742ad00d52b WHIRLPOOL 4c58afaa230bed0ba6d837585400338391c349f884e48284db27b72f315a81453a0486335a1ea518bb3c01d0349e6a7d099708c40c2f6d79bcb446e957859e15
 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

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