From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1108224-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 BF968138334
	for <garchives@archives.gentoo.org>; Thu, 29 Aug 2019 21:23:08 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A4356E0823;
	Thu, 29 Aug 2019 21:23:07 +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 782C4E0823
	for <gentoo-commits@lists.gentoo.org>; Thu, 29 Aug 2019 21:23:07 +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 05BDE34A63A
	for <gentoo-commits@lists.gentoo.org>; Thu, 29 Aug 2019 21:23:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B74C77C
	for <gentoo-commits@lists.gentoo.org>; Thu, 29 Aug 2019 21:23:03 +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: <1567113781.9917a4c4739bc0f9aa521f73c0217c7fdbccd339.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.8.1649.4_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 9917a4c4739bc0f9aa521f73c0217c7fdbccd339
X-VCS-Branch: master
Date: Thu, 29 Aug 2019 21:23:03 +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: 1b763b6e-9df4-465f-b81b-faf238719ecc
X-Archives-Hash: 15d75aae2389d433961967f203c74e0a

commit:     9917a4c4739bc0f9aa521f73c0217c7fdbccd339
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 29 21:21:34 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 21:23:01 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9917a4c4

www-client/vivaldi-snapshot: Version 2.8.1649.4_p1

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

 www-client/vivaldi-snapshot/Manifest               |   3 +
 .../vivaldi-snapshot-2.8.1649.4_p1.ebuild          | 115 +++++++++++++++++++++
 2 files changed, 118 insertions(+)

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 2d20138cbff..8f6d9d872ce 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-2.7.1628.26_p1-i386.deb 61966124 BLAKE2B 04e40c1e2442f3bc0
 DIST vivaldi-snapshot-2.7.1628.28_p1-amd64.deb 63570536 BLAKE2B 4aa0f395743ee6824bd2a89d94a3a272544fb5b8bf45c6af57c80d9ce2424a39599d592e82a0468a4062826552de9ab219155c6cff778dbcb29e460cdbd2a7a3 SHA512 05b18a0d0b226e882a620bd69c2d1281df1b785ba8b5bfc67c94a3ac5a20baa66b95501f2a69cc1a8e4b00c16e81d1f10617e73dda02caf6aed53eb828b70802
 DIST vivaldi-snapshot-2.7.1628.28_p1-arm64.deb 56917668 BLAKE2B e072e0c154e02b5299c2a7a32f72c7915e16176cbdb327ef443e52a5eb7d4fb085d24bb6bbc061928e6bcd0d4d8f73f527a4ce825d5a411a9822e01e7826ec45 SHA512 bb912cff307b0e721f27abd86b26f91070460bbec35bb8b4ee0a51b5eec3cf8b03577e773ab134126b5d8b46746b83f76ca54b411516119ca96502623b79d9c3
 DIST vivaldi-snapshot-2.7.1628.28_p1-i386.deb 61985080 BLAKE2B 392057df411000401f44ca90311b81aa78d76a1b7f09bfc46d5067f8d5480325d9b5ee6facce00d466832e1e1befc5db27303594fcd06a90ecc6d1a42f87baf5 SHA512 aaa7aec5d4ea5201acb36c63d18ff853681bb2c88e3f009b264251928dac6c35ef77479d3e20c527a950a4adf3f4d09c11aa409040a6262e08154c21a8c4e770
+DIST vivaldi-snapshot-2.8.1649.4_p1-amd64.deb 64432432 BLAKE2B b995597237d5b24d47dde29dfba94d85459943571c7f770329248cfa1639e11e3a9df0d23a62f8aa9814c27d5208500c5ddd029e04f2b669ebae1571de5e5251 SHA512 d29dbcdbdbda401ec2e867e258763f3d90ca5da5f4c2207c45ec027292200ced738e060a5991d3827c50e037dd55557acaf7e5abeada44769b93584a86169793
+DIST vivaldi-snapshot-2.8.1649.4_p1-arm64.deb 57632240 BLAKE2B ad3439a2fec9c9a08bfa914ab60b32fe31f633e42317e8b7477b3613aab14411418ecdb22cf2b63e28c836d5b73974f49c93ac0ecbf3bfb0f0dca2066ab5da8e SHA512 ad05996779d31b38c21fdd2b9f787a97fad7c00dbcc267f77a3c79d68a79af8ed410efbdecd52ba679f028c7ca50be8da8e71bf29eb655f83b556c808b05d711
+DIST vivaldi-snapshot-2.8.1649.4_p1-i386.deb 62799772 BLAKE2B 57a2d19d4de637ead74f69390e9cedf07c4c2951b4773fe25566c10bc1c993ebb3ed702141efc286034b054297205709241703f57f2c916061302ff87a791f47 SHA512 63ae466a9aa6a983c8b221dc9a88b96e50aa54bf9adfec1e472c780c891cdb0b8035495cbc74488319ab9da59c424e5465de429b82407e699531112a497e5642

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1649.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1649.4_p1.ebuild
new file mode 100644
index 00000000000..3777ea957e1
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.8.1649.4_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 )
+	x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~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} \
+		${VIVALDI_HOME}/libwidevinecdm.so \
+		|| 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
+}