From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1203147-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 CE09D138359
	for <garchives@archives.gentoo.org>; Sat,  5 Sep 2020 12:02:08 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0B7F6E08BD;
	Sat,  5 Sep 2020 12:02:08 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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 C09ACE08BD
	for <gentoo-commits@lists.gentoo.org>; Sat,  5 Sep 2020 12:02:07 +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 63694340D28
	for <gentoo-commits@lists.gentoo.org>; Sat,  5 Sep 2020 12:02:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C0C0C343
	for <gentoo-commits@lists.gentoo.org>; Sat,  5 Sep 2020 12:02:04 +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: <1599307323.fc6cbdcca3e9d9506c4ab74ad86818883bbe4155.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.3.2022.35_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: fc6cbdcca3e9d9506c4ab74ad86818883bbe4155
X-VCS-Branch: master
Date: Sat,  5 Sep 2020 12:02:04 +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: 73ad4866-b0d9-4198-86c9-29f1990eabf7
X-Archives-Hash: 484ae88eeffc84af33567281a098d6c7

commit:     fc6cbdcca3e9d9506c4ab74ad86818883bbe4155
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  5 12:01:44 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Sep  5 12:02:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc6cbdcc

www-client/vivaldi-snapshot: Version 3.3.2022.35_p1

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

 www-client/vivaldi-snapshot/Manifest               |   4 +
 .../vivaldi-snapshot-3.3.2022.35_p1.ebuild         | 116 +++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index a0ed9c22f6e..80cc0e0ffc1 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -18,6 +18,10 @@ DIST vivaldi-snapshot-3.3.2022.27_p1-amd64.deb 72539912 BLAKE2B 14cb0f6142966c41
 DIST vivaldi-snapshot-3.3.2022.27_p1-arm64.deb 65264416 BLAKE2B 340a35c623097ac4e179cf2fd4e31334776237cb18229401e499942ec20e245f4e837b69841d4165d6b72e8317c813a8f9ffb66e345b1e3d399951c8d0e06947 SHA512 acf248854108cb2bab39edda7a0b6a74ad32a31406ff8995207f6dd5422de24b073a0cb5047ac071eb4cf56c3c8f00aedac0b2951f5f7b2ab7775e8262cc44c7
 DIST vivaldi-snapshot-3.3.2022.27_p1-armhf.deb 64300836 BLAKE2B d183172c05bcb1b8e8a70029d009cadb2d6184d0e8659e84f44d4daeb3b28d2091fd51a52000729ae67ebd2d1312573a8191eaa26beb745584a46e588ddcf4a8 SHA512 d90359a2f5eae304dfc042a41b6027f51971fe44da3f2a926b3639968ccb9c73cdaac3350a1716e1eefb7c2d61252a80c12d38a1177a420db2284f6a60275d43
 DIST vivaldi-snapshot-3.3.2022.27_p1-i386.deb 70811608 BLAKE2B 133d7f9718703f8f3c509948aed66fdd2719f34b2fb3c777af787446e1ac0ee2d28cfc64524eda605d8e1b96c1758b6055aa589833afec7b006cb73a917eee4e SHA512 445e81e3a938501837ecf3602a8a1c312a5f2a164848ef88b309bbf1c271b9c0070ebda69ccae84ec0ff271aea1f104a36e91eb4a9823ee288e57704e40898db
+DIST vivaldi-snapshot-3.3.2022.35_p1-amd64.deb 72549076 BLAKE2B f16d35b530a04645c3910e4107943184af483a395d4c14887a58aedb2c3d8db4bf6cd430a624ebcb52392314d91ac006232c4325980c5d0cb5f4ad8a71d8d9da SHA512 d17d2995fbd9c7e3f1c0cd7eaa6976f9771362f14a9fb0d0b39faab5fd0b32eaeb3e708e5635dd0e762548c3f0c733d29799b455c0b8af946ba08de78dd15421
+DIST vivaldi-snapshot-3.3.2022.35_p1-arm64.deb 65273948 BLAKE2B bf314428757ddbb779fd1c5a69e481f5788aaf95798f4b574aa4d4b5668e22bebca0d75aa64856136310deefc0712a88c6bb218c345216ba0f6cf61664a4d387 SHA512 7e742f1d442ecc9fb84c7135a4969283748c512ee32df82966fb314143c8fc34fd0fc157c3386d28ee4c25ade538d246fe60a93aa6a450f1dc1e9f43f161800e
+DIST vivaldi-snapshot-3.3.2022.35_p1-armhf.deb 64298100 BLAKE2B 43833ce783bd4e95b67b9cf69a1ce83a8ea19f729e1d85a8206e3aa08870aabd04807f9a137686d8d91d54a60c89b428794e2eb432db640b2b66728971098572 SHA512 8b3fd35d0d69dbb52716376be319f1dd18df351b8ddc9cd6ece354f05be87dc6d5c35361bae823d7f67a57069c5744c295de7552962b955e9d46d5ecc5ecb199
+DIST vivaldi-snapshot-3.3.2022.35_p1-i386.deb 70808744 BLAKE2B 8d252189b5f1a0d81cea66c50be66af0d853f46d1d5f077b2f7bba5084c40eb45a20c5b6987d02fde0b033aa6306b7092cf24198f6c96724bc2dbc437d28c25d SHA512 c54626c3221da779e3b3ecf51ad2f9ead81a35947df9025a3c2ab7cd36abb9170e74aead369c68921f9311e790d16a01cedbb054c26c4fb457004be1f33f35a7
 DIST vivaldi-snapshot-3.3.2022.6_p1-amd64.deb 72527684 BLAKE2B fc36dc548eacb677a27242a9fd2bd8607d51f790c4c2e2aa595684e502dfcaf87ff221c6c5b7ba47e2840bc2a60c8c4867f9b63ac7c026df23322df28c16c46e SHA512 455467311947cf22ef4fdfc442cbe91c0aa9efcae0e9475a86dd73ef876aa2c32ee930ac3ee91f3cc7a345ccf1eb2c55d5ed62b748b2c3ae03a0be5f36dfec01
 DIST vivaldi-snapshot-3.3.2022.6_p1-arm64.deb 65255944 BLAKE2B 977bee23830b33debe065268097c03c62a3297eec5ff952da02c927660c228bfd3c70c564f7a6b9caad30c3a4edeb41d622ea2eff35a82dd65c1e09bb684bf7e SHA512 fa325c88b2216a317d7c33a7bac15c68e92e51de0c68c5b9c0dc5c8d07767b77a18670dad068e044cb5042fbdae5d91b240382c7c1d1dcd7122a3442f0b6056b
 DIST vivaldi-snapshot-3.3.2022.6_p1-armhf.deb 64288748 BLAKE2B 16f1f900342b44b9fdaf872d370ab856257102af622764cf8a019beedf17d505260909d16b905cdbc85f19ecb12265d0c473da0fd5a44e986f47cba4513bf5d4 SHA512 5d791f853835fb8e9e5648056b638f732dea892e9f272835da19fd5624d9bb03952eac1a915851c82c9756144c6243ddab1db299faf171a0880a154480d40d53

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2022.35_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2022.35_p1.ebuild
new file mode 100644
index 00000000000..db3613b057e
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2022.35_p1.ebuild
@@ -0,0 +1,116 @@
+# 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-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() {
+	rm -r usr/share/appdata || die
+	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
+}