From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1202139-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 43E41138359
	for <garchives@archives.gentoo.org>; Wed,  2 Sep 2020 11:50:57 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 776AFE0957;
	Wed,  2 Sep 2020 11:50:56 +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 1CC57E0957
	for <gentoo-commits@lists.gentoo.org>; Wed,  2 Sep 2020 11:50:56 +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 B6597335D78
	for <gentoo-commits@lists.gentoo.org>; Wed,  2 Sep 2020 11:50:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4043B2EE
	for <gentoo-commits@lists.gentoo.org>; Wed,  2 Sep 2020 11:50:53 +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: <1599047449.842b283931d363ddb1ab6e8ce062fd0375d04027.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.23_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 842b283931d363ddb1ab6e8ce062fd0375d04027
X-VCS-Branch: master
Date: Wed,  2 Sep 2020 11:50:53 +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: 4dc3b819-b621-4bfe-9bf8-8cbdbd93d449
X-Archives-Hash: 67fb218d339b5beaecfda438550c5a1b

commit:     842b283931d363ddb1ab6e8ce062fd0375d04027
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Sep  2 11:41:51 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Sep  2 11:50:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=842b2839

www-client/vivaldi-snapshot: Version 3.3.2022.23_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.23_p1.ebuild         | 116 +++++++++++++++++++++
 2 files changed, 120 insertions(+)

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 5e767a2d713..98d7b5ff95b 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -10,6 +10,10 @@ DIST vivaldi-snapshot-3.3.2020.3_p1-amd64.deb 72493644 BLAKE2B a2373803271f7b081
 DIST vivaldi-snapshot-3.3.2020.3_p1-arm64.deb 65239632 BLAKE2B 71b54b22ef38fc649b892fc112c51419368720709cf7b2c0f80a328b513bea3875633e80a8998be8d4cbe5ba03b26a0d9a65007d3c0e8b757f86c080332f0bc6 SHA512 fdc8e2203888e37fcc9bfe3f0a81080290c4b689cff8c8a269d1633cb1720b852e95bd7b171c05a3e9fca37668a9b6df5707dee53e04c3703aeaa1f56c080520
 DIST vivaldi-snapshot-3.3.2020.3_p1-armhf.deb 64269308 BLAKE2B f01d93649d0b24338e993d0617da694316d46b8d0989aeaadc2fc33a57813cc3aacbb6ec50d772b4bb63c20e161103c7295b06cf34ef6dbf8e7ccad3c6b1e7ce SHA512 4bc8e0004ff1b78c1fb669e4b4c4a409f810a9f33e2ae788522be126fb4d6572141267041d5166a6f807db9da6e722b6fa2745fbcdd80f53612c6f016fc4c6e3
 DIST vivaldi-snapshot-3.3.2020.3_p1-i386.deb 70775604 BLAKE2B d039e8131440ab96e39c16168f52b542196b405cdc8a387c553ab129d073fde18e1926c77ea7ece9a7782eade12562b8509105d8a5a2712ef2e3da9934be646b SHA512 ce3e78a7a6955e15dcd1cad63235584242259f75c35b58d85c9f85e4f2c3b540fda7a201b646c09576c814045a507cf6544dd36cfe62f57e3068efbe1379e30b
+DIST vivaldi-snapshot-3.3.2022.23_p1-amd64.deb 72521052 BLAKE2B bbb28a2906c6f3e656d732ef9e8c39782e4c8627c0d58dbbb66abbc17f6d4fd2b112e74c8bb6573307cbfbeba47d125593aad68265ce125e9625c14b0550b6a6 SHA512 cbf6fc904514b99313f6571e7cde38a0b1db36365cef6152019a016837dbcee25bf538556374caa0acd84803b7ff4b649808dfdcab57a4e750db431a7eaa6f1b
+DIST vivaldi-snapshot-3.3.2022.23_p1-arm64.deb 64722492 BLAKE2B 52a89bd8a5fcf7a1025b17a5598b078775dacc6fe0e472ecfa747086209c54e832ef14f9e952586cbe130d70e99d6ffd3539de9e789faf87fd09822f19e08ff9 SHA512 15cf70055447c1f909f69c7a9280de2522482b8e325832a52084c4bd2ca4e812cfacf4a3ebe053929a4eaa618f3ebace5d40c1cab47b5f45dddeb79257311137
+DIST vivaldi-snapshot-3.3.2022.23_p1-armhf.deb 64293056 BLAKE2B d9e205dae88ac56afe1188e47d23a68a2f73d09fe2d74b5ac6a5511fd6f5b35ac1d9ec03630f35c09af5e091d1ae2c5681ca35eadedc23e85517e9b6ffa059eb SHA512 16abb7c51fc05aa642b3f1413f629fca0ec6fef26f9c4c3576887f10f32471b2af443c195b0ea1b1814e6be7da8d47ba5a63d526bb80ad703b207f230b474eb3
+DIST vivaldi-snapshot-3.3.2022.23_p1-i386.deb 70805224 BLAKE2B f67b900376250bde133709cd63777e2abfd0188c792dbd3ec10bdc1d35d7ad9533ee5f4f56d55d94295e226e9e6bcd2c64e47ab04893e401a5e417873596512c SHA512 08cdfd67a5c7daffb464bab5862b299fa0be92317efa5a1d3ce91b10ff22ea4d9b3b1d49bbe9128a0570252dcfd2e1877ece882fc761b584e2675c0a1d6a4108
 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.23_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2022.23_p1.ebuild
new file mode 100644
index 00000000000..db3613b057e
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.3.2022.23_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
+}