From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-974192-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 EF7A51396D0
	for <garchives@archives.gentoo.org>; Thu, 21 Sep 2017 16:33:49 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2E6DE1FC0A5;
	Thu, 21 Sep 2017 16:33:49 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(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 0E5751FC05D
	for <gentoo-commits@lists.gentoo.org>; Thu, 21 Sep 2017 16:33:49 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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 E7E2233D3CE
	for <gentoo-commits@lists.gentoo.org>; Thu, 21 Sep 2017 16:33:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A6C672A8
	for <gentoo-commits@lists.gentoo.org>; Thu, 21 Sep 2017 16:33:46 +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: <1506011571.a976d7b6486dbd1bd717417ce5beab23c40f7e83.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.13.966.3_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: a976d7b6486dbd1bd717417ce5beab23c40f7e83
X-VCS-Branch: master
Date: Thu, 21 Sep 2017 16:33:46 +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: 26d4e7c7-1b32-43e8-8e45-26cc2508c69b
X-Archives-Hash: d04eaa65e9272c6e5fb35df1f9de4554

commit:     a976d7b6486dbd1bd717417ce5beab23c40f7e83
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 21 16:32:51 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 16:32:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a976d7b6

www-client/vivaldi-snapshot: Version bump.

Package-Manager: Portage-2.3.10, Repoman-2.3.3

 www-client/vivaldi-snapshot/Manifest               |   2 +
 .../vivaldi-snapshot-1.13.966.3_p1.ebuild          | 105 +++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 221c2393135..ebf066cfd0f 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,5 @@ DIST vivaldi-snapshot-1.12.955.14_p1-amd64.deb 53592408 SHA256 db2b1605e3c59fb4c
 DIST vivaldi-snapshot-1.12.955.14_p1-i386.deb 54881312 SHA256 9dfc8f8d1e57adbcb7c24aa404a8686de6a5c9cfc2787b7731206a704dbffcd9 SHA512 75a75937787178e0229dc81244544e389d8393265a10d31607f312448b2c996c03b5058381dbf33fc8ee76b16fb156bfe08fdab83655b62572c56e4fb9b79d68 WHIRLPOOL fd2f9851d14eab6480e261cecd118dd2c9bbb1b01ce9b7e62896acaa304593e577bfccc5c367aeed56e846cbc65760bbb1eebd1723ed97a77075756fba9ff08e
 DIST vivaldi-snapshot-1.12.955.20_p1-amd64.deb 53457708 SHA256 37133458562e71d098ebd843ec1f6ea0f72c5db4a3a68692036ccf7340f81ecb SHA512 d380f918a37600cea10077736c6ab2e40c010e5119a01a0aede2eb30c642270241bc3bbf6ac87efab9d2239cdb0e59adc7f710607ade535b311bf59a30e61120 WHIRLPOOL 1120596e6c3283ba805be2accd378c049f8fbf70fd651db2a70de162e8eee75e7405264d23be1a939f5d139f60fd3d48b89a6e1edd05f7565431ac0114bd3521
 DIST vivaldi-snapshot-1.12.955.20_p1-i386.deb 54752722 SHA256 1389375ab145b345d2812fe415483704975c73f4e193929eab3ba34f70c11764 SHA512 79944722e9c22b5a8c29b72b0ac5d723afd92fbd6234272c74c3b85252ceb7ee91849b47eff8a8964aa21d7607674905c2dd9a102f82c853484f38a33ce9f520 WHIRLPOOL ba0b5e105229850a3cb5a4e737ae8799f603c8a1ebd19ea5fd89313649088372013cf0ba7d2570981b0755f771aaee9a8e3be99f676df5879965495876ccf04a
+DIST vivaldi-snapshot-1.13.966.3_p1-amd64.deb 53410782 SHA256 a7a20c765d9a5ea22337424a66706f1909c6e18ea7ccef01575d245d3cb80db1 SHA512 5b71245656885584b4dbd5a02da89e5fede1ea246f5fc14a7cc3216cf40191d0183dcf80fcb3a433a75073e474bb45d111590777b8fee6ce1ab8fb68b2bc8b19 WHIRLPOOL 9a699723abfd50413957da4da1ceaa132a6bf58c102197bbb9a4c0458632a95e7e87e5a46788268efec6d7fe447928ccac7ca66006a2b1de5c536fcf67188c1e
+DIST vivaldi-snapshot-1.13.966.3_p1-i386.deb 54706528 SHA256 3d132d1f2428ba816d2b93764205b2772f1fa84f2dac71cfbd60794121b1898b SHA512 373006f4b93e4f5bcd32bdd55ec97844a5eb1569a5177f541ffc572b4c7298e80e5479baf0ba5a5c2ed516beb27d68be5d092aab741e06e62b5e38b219f30d7b WHIRLPOOL c53f769b38448f5ecfce26167eaab82afdc73688e184f7dbd6f2c7b546e6f055946c5b54e21355e78fe536621898d40683f8e477b81877c1cc471763dbcf80f7

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.966.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.966.3_p1.ebuild
new file mode 100644
index 00000000000..eda36f1e1ac
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.966.3_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 )
+	x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+RESTRICT="bindist mirror"
+
+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
+
+	epatch "${FILESDIR}"/${PN}-1.12.955.3_p1-libffmpeg.patch
+
+	epatch_user
+}
+
+src_install() {
+	mv * "${D}" || die
+	dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+	fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}