From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1131683-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 D1490138334
	for <garchives@archives.gentoo.org>; Tue, 17 Dec 2019 22:28:21 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A63FBE08A5;
	Tue, 17 Dec 2019 22:28:20 +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 76E17E08A5
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Dec 2019 22:28:20 +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 BB92234D8E0
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Dec 2019 22:28:18 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 328D5720
	for <gentoo-commits@lists.gentoo.org>; Tue, 17 Dec 2019 22:28:16 +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: <1576621694.bd003e0e57d1d90b99fea0b905d00340f0b1e769.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-2.10.1745.7_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: bd003e0e57d1d90b99fea0b905d00340f0b1e769
X-VCS-Branch: master
Date: Tue, 17 Dec 2019 22:28:16 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: a41a4bb9-a445-49c1-9b3d-0d0f9f8857af
X-Archives-Hash: 63ec342d6c09cc7a0e5b1bf44b6f94b5

commit:     bd003e0e57d1d90b99fea0b905d00340f0b1e769
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 17 22:25:54 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Dec 17 22:28:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd003e0e

www-client/vivaldi-snapshot: Version 2.10.1745.7_p1

Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 www-client/vivaldi-snapshot/Manifest               |   4 +
 .../vivaldi-snapshot-2.10.1745.7_p1.ebuild         | 115 +++++++++++++++++++++
 2 files changed, 119 insertions(+)

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 204b1320f30..081d644e7b4 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,6 +6,10 @@ DIST vivaldi-snapshot-2.10.1745.3_p1-amd64.deb 66725860 BLAKE2B 62d9058a23e10abc
 DIST vivaldi-snapshot-2.10.1745.3_p1-arm64.deb 59599384 BLAKE2B 79652d23064a8c7fd8724c7532cf98cb09d6a2e269100188d9f5d7c9447c57e2871c3f795307699c839552f2aa0bfe0fc635efde1cfeed62bad4277edb303d8c SHA512 f9a7f048fa7ed9e99c6ba7b15603485d8678cac50e27f04a5cbfc751ec853ced267c22ba8fbad0df347c6fde81859c8db5318c1d09cc91d1351c40e513281c7d
 DIST vivaldi-snapshot-2.10.1745.3_p1-armhf.deb 58867764 BLAKE2B fd27738be1803e79578c77f7907aeb41e841c5a6ee73dfce1202ab07a6b026267fee5ada44550da46f1361a9d309bc83f3faabe112dd3b8c255ae462e9f8cf45 SHA512 0e767c019a14061f2589189dcd482d91f52ca28f75dc0a7e236e799c8c55c0b9e72e0f6e7f067ef0ee4d20e1771f1bb53e424e90d88fcb41ba9e7965b7c949d8
 DIST vivaldi-snapshot-2.10.1745.3_p1-i386.deb 65148156 BLAKE2B 32e38d0c0df5b1dcd1e56674562fc68b5f2eb159a48a54cb49ed632d2d19758b2b74bb13cecbbb71c4626b2c8103b0a34b3178ba56d2ffdde1d94104244c5100 SHA512 f2ff141e5fd843cfc2a3059af6a209c5b31570b2b5226fc73ef4800336781c32ab57d0c24c07eef1c0e9f1db27c93e22ecfab41100d1e1377f196ff27c982983
+DIST vivaldi-snapshot-2.10.1745.7_p1-amd64.deb 66759428 BLAKE2B e1eb1d94026921e4556d771e11f781d4c24da3038ca8a2b0369047d8cb82ed938e7ef83d62c8ea2bf36469de6fdb92eb5790c2a3e436ae26a78516241d0c3048 SHA512 f35689e7a30aae715e92824dd60f79fefc3ed9876928f5f8b9f61a9c4097f808fc0c505aeb84e44fcd78aed9006425a03fd6be64990b1dad861f542d58b77b4f
+DIST vivaldi-snapshot-2.10.1745.7_p1-arm64.deb 59629124 BLAKE2B 9e68cd3e17a9045c48e1d5372b534559aa8e178502f1c8b7797336d4aff6ba8ace2c05ce1dcdd1f4afbb525a0686c4adffe37e028643e7d08f972634f0c960dc SHA512 13b5043606b664a5074fefad202905b31c51c3757b409cf73cfadb0f85424635109b4fa64bce8dd22935c012142fa0a3150bb94013fa199e1149455d660fdd64
+DIST vivaldi-snapshot-2.10.1745.7_p1-armhf.deb 58881400 BLAKE2B 5f787a06b3398cc3ea5e7698a1c203326e0d2ddca34640382d68a6dd40c9ccf66251d1349a89636feaebe27e5438390988d67f404d4cbfcfa7ab2210ddacc536 SHA512 2161b62bd1ba2fc826e6df785e64391c0bc9e6b82a1f41ce16fe1fd0ef50da171308cc38abe81d5b915a5ae6a4e563cecd8a024f0fd1bd61eab28522e70502d4
+DIST vivaldi-snapshot-2.10.1745.7_p1-i386.deb 65172108 BLAKE2B b31976c6fa0e71aa42a34082eecafae226fd86628215f48982abd42c503826368773e46681b6af5fb9f3cd6f30a5951c375d087f1e1eac17145b6e19eb1b9a4a SHA512 4cda3ded466b0a32095270d98cc7f4aa4dece74c88d9c362f92c68a38e5f68397bd141180b066b5c5e7c0ed4547f063d2e4bc9a996e68fce644fc9f6fb4cd5d0
 DIST vivaldi-snapshot-2.9.1745.22_p1-amd64.deb 66821948 BLAKE2B 57455f5e22ae08757b4f2d6b16ea012da87271b544a8b873eb3815350f1fb21f6b6930fa048d412c4179aa60e8a7dfba9f320c63f58aa1869c1da471d48826cd SHA512 e10e116f7a5d14223d60d098e9f36451dbaa2a4c3df32ce3d8c01c7fe654fee347023699b5705874174a80ecd37737786e3a12325b155802b308d50be05cee28
 DIST vivaldi-snapshot-2.9.1745.22_p1-arm64.deb 59685676 BLAKE2B 875437cc374012257af3af0de7fea1ba2bde7c86d3beb4c5147ddf8f25653233fb56a58c87d8d1d1e726df11512a5b9de811201e956af69a0bb6f4a2c73c8af3 SHA512 ad518219cf81e08ae00bbb072a318269d6575458c39de88c3e5806cd36664ee0fc5651742cb6d2f3d38854be07cc0c424a13e988b89b8b6ab2ed6324c2ee99e8
 DIST vivaldi-snapshot-2.9.1745.22_p1-armhf.deb 58961136 BLAKE2B 96c6647ddb15b2c7f74b8c47e01adbc2ed79f84c62b8a41ca982ef08a2ebd85527b86e1dcec2ca6d8d019a9fcbd501fe4a179fda93090f48d040e253e726e48a SHA512 4b6ec9e0023c984b535035e7077068b1241bacb794a97dc955a2087044705594610bebbbadbf999ba5c55c1ad836b74c6ba0b562b9e76f93afa0e8abd4e052cc

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.10.1745.7_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.10.1745.7_p1.ebuild
new file mode 100644
index 00000000000..8c33fc17af4
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.10.1745.7_p1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CHROMIUM_LANGS="
+	af am ar be bg bn ca cs da de de-CH el en-GB en-US eo es es-419 es-PE et eu fa fi
+	fil fr fy gd gl gu he hi hr hu hy id io is it ja jbo ka kn ko ku lt lv mk ml
+	mr ms nb nl nn pl pt-BR pt-PT ro ru sc sk sl sq sr sv sw ta te th tr uk vi
+	zh-CN zh-TW
+"
+inherit chromium-2 multilib unpacker toolchain-funcs xdg-utils
+
+VIVALDI_HOME="opt/${PN}"
+DESCRIPTION="A browser for our friends"
+HOMEPAGE="https://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_"
+SRC_URI="
+	amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb )
+	arm64? ( ${VIVALDI_BASE_URI}arm64.deb -> ${P}-arm64.deb )
+	arm? ( ${VIVALDI_BASE_URI}armhf.deb -> ${P}-armhf.deb )
+	x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~arm ~arm64 ~x86"
+RESTRICT="bindist mirror"
+
+DEPEND="
+	virtual/libiconv
+"
+RDEPEND="
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/freetype
+	media-libs/speex
+	net-print/cups
+	sys-apps/dbus
+	sys-libs/libcap
+	x11-libs/cairo
+	x11-libs/gdk-pixbuf
+	x11-libs/gtk+:3
+	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
+
+	gunzip usr/share/doc/${PF}/changelog.gz || die
+
+	rm \
+		_gpgbuilder \
+		etc/cron.daily/${PN} \
+		|| 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
+
+	eapply_user
+}
+
+src_install() {
+	mv * "${D}" || die
+	dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+	fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}
+
+pkg_postrm() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}
+
+pkg_postinst() {
+	xdg_desktop_database_update
+	xdg_icon_cache_update
+}