From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1180206-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 9DEB11382C5
	for <garchives@archives.gentoo.org>; Tue, 16 Jun 2020 20:15:12 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CEB18E0943;
	Tue, 16 Jun 2020 20:15:11 +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 9E785E0943
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jun 2020 20:15:11 +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 5652234EF2A
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jun 2020 20:15:10 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id E9CA92A1
	for <gentoo-commits@lists.gentoo.org>; Tue, 16 Jun 2020 20:15:08 +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: <1592338506.b3eadf83cc5cdfe1868a151836a4fabeac01ce5c.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.2.1950.3_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: b3eadf83cc5cdfe1868a151836a4fabeac01ce5c
X-VCS-Branch: master
Date: Tue, 16 Jun 2020 20:15:08 +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: b2d78904-377c-4d0d-9243-18850fc569ab
X-Archives-Hash: 5ba5876c3cfce184c1f9b033df44eaf2

commit:     b3eadf83cc5cdfe1868a151836a4fabeac01ce5c
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 16 19:44:23 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Jun 16 20:15:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3eadf83

www-client/vivaldi-snapshot: Version 3.2.1950.3_p1

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

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 581bb72f4a5..97be3133cfe 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-3.1.1929.28_p1-amd64.deb 71007352 BLAKE2B bb9be0f5e33ed6c8
 DIST vivaldi-snapshot-3.1.1929.28_p1-arm64.deb 63480852 BLAKE2B 8b7152bade8a1d573cdad256b1d8b0a829c0580aaea035a5ecd3b71ab52a32ed1a2f00da1416bf1cf0f43568c282066a4f7c55265a6f8f37a12d82cc0866ce47 SHA512 9174d28e41fe029bdcbe587327d4add2425d5341759750e49059c36bb8dd8af4c49de05b5487c629073a3dfc5984279872b86cf0a077a89bea1307613ffabcd3
 DIST vivaldi-snapshot-3.1.1929.28_p1-armhf.deb 62914704 BLAKE2B e9a06d3e527a46fa9945302a23bc03f4644fb97a241ad55f91c19aa532c4e8823af8cba2f427acfe4fabef11950502f230e8c18b3347c75145fbf396a0cbbb6c SHA512 3500c8450a3d64336d103ce2b2c82c6769508e8e304ff880b69d7af538e17e09e02d21e76a52f47f13c779abedb7693aef5a36bd9e65b61334a3234fb35f800d
 DIST vivaldi-snapshot-3.1.1929.28_p1-i386.deb 69398944 BLAKE2B de22baaf2f62a7af9a444f435d6c124f8348b6958e66f42557cee728aa8f245dac949ed893c76cc0913098bed4caf40119ba1e6fc4e497982c6d2fcc04221a58 SHA512 287fce3cd196c96a160976efa9354403f2dbf395d99051890f1a346f2406fac97f812f59951b2c6643cd71076dc596b99d56972cebd61e4081e7549afcb64281
+DIST vivaldi-snapshot-3.2.1950.3_p1-amd64.deb 71811452 BLAKE2B 8284f3cc59b6c15769be4f3d27ad56e34df1bab74efd791889f64bb5b5eb710cf2e9ee1d5b911d89d21b125e8acd63d58f883f733e80c6ae1c46c8216f54ed83 SHA512 6add922c905709d6a59a15247c486a71b7c08001ff075c94ed80648a45da11dcdaaf9f0bd3707003f899e3490bc8b1ea3d705c16826bfbe989c22e49aec4daed
+DIST vivaldi-snapshot-3.2.1950.3_p1-arm64.deb 64078268 BLAKE2B fc2c1637d0c6203817b1f0e7750fe89fc830bb13be2028765334729786658e3ca9123e2b56e1397990ec85b77ae28429906a110232c76de4e7655e834d61b84d SHA512 dcac9452bef90ca9b1f2b5bfcd8447c5baf9f814bc7a7be99c6d776214aa7c51fd7e4e45994743ad7ff09d260a0b4048328317fce2daa5178c361eb0ba6fe997
+DIST vivaldi-snapshot-3.2.1950.3_p1-armhf.deb 63603260 BLAKE2B 82e11ff4aae2e0d9a61d2783b73100be6bb4cff31fa18a99be90a9733e23a00e9ed97179d2e9f61b921abef4d4dcec6d7002a2c80eebfdf2422ae812a09d6b6a SHA512 a80d9acf715fd026bc46600b0c5d90c52962abaa02f17a9b84a27d77d4b3ec44c7bf72142a173268e6064fdb7976681aba29a42c26838e63c3a8bb1f44c9d61d
+DIST vivaldi-snapshot-3.2.1950.3_p1-i386.deb 70124360 BLAKE2B b868fd26e3efe33674a78eb500b3950d9ab830dfebcccf29f2b282593979cab405fb2cea2fbaa4d5a6ba9ac5c7be58825b4a8aca35265523a080fd7333525fdc SHA512 09cb4f8e5d12946309b93f827b3688246c5584997b43c48f8ba2195afb4e64ef5e533bfc746c968eaf8007aa1d89f1362e9db980fc5ba9fd343dc5f9ef6effbb

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1950.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1950.3_p1.ebuild
new file mode 100644
index 00000000000..db3613b057e
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-3.2.1950.3_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
+}