From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1214492-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 A5F2613835A
	for <garchives@archives.gentoo.org>; Tue, 13 Oct 2020 10:59:41 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id AC013E08FC;
	Tue, 13 Oct 2020 10:59:40 +0000 (UTC)
Received: from smtp.gentoo.org (dev.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 876E3E08FC
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Oct 2020 10:59:40 +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 CAF88340CFA
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Oct 2020 10:59:38 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 466D036B
	for <gentoo-commits@lists.gentoo.org>; Tue, 13 Oct 2020 10:59:37 +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: <1602586774.009258deb30d67ca9712bb82f98ca7359da36706.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-3.4.2066.64_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 009258deb30d67ca9712bb82f98ca7359da36706
X-VCS-Branch: master
Date: Tue, 13 Oct 2020 10:59:37 +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: 44c5e306-f252-41e7-a319-dd9fa654c20d
X-Archives-Hash: 18a957b3c5eeb8255af080a28c90c2c7

commit:     009258deb30d67ca9712bb82f98ca7359da36706
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 13 10:57:07 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Oct 13 10:59:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=009258de

www-client/vivaldi-snapshot: Version 3.4.2066.64_p1

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

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index fe64cf09f5e..e4aec92125e 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -30,6 +30,10 @@ DIST vivaldi-snapshot-3.4.2066.37_p1-amd64.deb 73492652 BLAKE2B 18f9fd12f5007ead
 DIST vivaldi-snapshot-3.4.2066.37_p1-arm64.deb 65907828 BLAKE2B b5e4bab513741193b6e06364c77054fe412e5d023f307386d3dfdadbf1a88a55c2cf448882c176bc685b967ab91bfde126f276c9c8c0d146480a153c1f4d016c SHA512 973da5627c0b63aab59a93692c095b307ec4a3a992533b9468b8287b26c1da3dbed320978523f50b53ceea94153e7e2993ab2e92760f0e6856bc6b8b95bfdb4c
 DIST vivaldi-snapshot-3.4.2066.37_p1-armhf.deb 64869076 BLAKE2B e98116b85b697bc72266d40d4844b5c0ac9371e09f2a47114ca705297c6bb71ebe331ae300ecf9da78ac86168e82bfcfcf3aa63638c8e844602d353bc88f30f1 SHA512 d5e9b573e3087f073e4ebf3d0c6de84aee225725f88b3830de4189aa3960f694488a8a2c2b142bf81ef357b113d5abd83ca8f21ff486e0c51ea0fcbbee9b7bd8
 DIST vivaldi-snapshot-3.4.2066.37_p1-i386.deb 70671712 BLAKE2B 55ea6949a3083762c23a7d7a357ac95464d14d0166f7d6b8332d9d88027cdf90361ba657654403d3221ae57f371a0b812dd8ebc3dd1e11f3a42fb7d4eb24bed3 SHA512 46c8b5b78a8dd0ed88d45de67833e4195a9fb5a75abfbd2ca5659c7c4a137fa4d4a1b529e0ea7f4a035d9a9348d215fe28ab834126277ff0deaedce4013b2a3a
+DIST vivaldi-snapshot-3.4.2066.64_p1-amd64.deb 75588924 BLAKE2B 602ebab7b1122ce3c6cf5a0bf84762fe8cf25959c293ff1a2eb226c454653118c058ff89269d24dee53eb5d57e362f86b38e0cc557fe61ed5014de150d538263 SHA512 f4baa611b5f3fe0bfbdf625f2714511f8930ffd030a6c084df5af1876701ae066b16c52d02a312b7f1c51818e7cc122d622dae87aecee117a16ab6fd38612321
+DIST vivaldi-snapshot-3.4.2066.64_p1-arm64.deb 67995852 BLAKE2B 7334bc0293dce388bb7b7be6685fb8c6f0e0ce3e7a3818cc91180378c6418c937cd983f582aa8bf90b97ec8b64bdb35eef3e5062fd904e87e49ab92c11bbd50f SHA512 d447ad92d4bc3d5d9f66e6f5a35c77b1320cbf8b74a773ac2b9b96abdbc8900665e19833d33f94145123a74418cc3b6c6e61875fa67eb0e6c34b28c5b5a3d66e
+DIST vivaldi-snapshot-3.4.2066.64_p1-armhf.deb 66961692 BLAKE2B 41678db3443250e58df8e2c9c42b243eeac9f85e547054a777251a54afe58fa135aecb3737808f8a0df68f34cd55e8724ee77616588b673e97644f3f99f01996 SHA512 fa835c4c6f2fe4efd77118a9f1875f11ab75ae4c7ef4d461c767ea6cf35abed22f4c315b368fd68cc900506b52893c5163ec1332b0e9245bfa76da69e182fcc4
+DIST vivaldi-snapshot-3.4.2066.64_p1-i386.deb 72729872 BLAKE2B bb8ca9d86e61735593ba9883900b469715b31655baf8ae714ddfee8d385627c191405992b3e7883f12c180aa958e1a8ee0387ccc381f78505564c4ca0a77f539 SHA512 e0a49f1e3ac0c6ea4537a9f8bd6f4bbcd703e71543a483ab91418ce9a0dfdd622cbeaa81f5f3b6e8299e3d9b070ebf3208bc3e72d97228330d34fb97377e6a15
 DIST vivaldi-snapshot-3.4.2066.7_p1-amd64.deb 73464860 BLAKE2B d1739427773ddc899de3db290e4790f6766048eddbaa50b39e529cfcb4cfd34ff458da0fb0f610f923d29cbcf5d08f50c6c682370482ad174a2b13dd73baab75 SHA512 2829da513d85d29965813281fd36ddca2793b6cbb6a107fe1e0058ba5ad7ef29141c3e327edc6b776c5ac30077236adeda0d1bc5e5b8a2edbfdc33ddeb6ba6a1
 DIST vivaldi-snapshot-3.4.2066.7_p1-arm64.deb 65925004 BLAKE2B 93da59c7829042f48893279c26278bc96fb4c55d66949f74439ad19f3eae9084c25373cc501087b180fdac9d958ed0840deb839d5c92374c221509dc232fbc74 SHA512 9736f058106e2c7db772eba109644044d6e2838880bc13da61892dfb4b2827efbb701cd4490d3ffe750684a9b19d3286fa791014eaa2b990ac83fcc5a946d79c
 DIST vivaldi-snapshot-3.4.2066.7_p1-armhf.deb 64924616 BLAKE2B 4efc6da89b75c97d9fd6f7f35808c2a39a208a94d3da573ed1bb0c5c81577349e4fde126d2e924d6a3df9c08515d2770e0cb80cb8f309851c21b28cb15dcc002 SHA512 ea8175e6e49049a4770d8c90da0b86695653b4d392adc6dd9cbaf2331ceb418d9faa65c9ce20d6605b5eb130e9d8bd89b39051d0360b4591a1c15c172dd25fd7

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.4.2066.64_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.4.2066.64_p1.ebuild
new file mode 100644
index 00000000000..0178e024525
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.4.2066.64_p1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 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
+
+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() {
+	rm -r usr/share/appdata || die
+	mv * "${D}" || die
+	dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+	fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}