From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1106620-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 0DF40138334
	for <garchives@archives.gentoo.org>; Mon, 19 Aug 2019 10:29:25 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 07EDFE0874;
	Mon, 19 Aug 2019 10:29:24 +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 CCCC9E0874
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Aug 2019 10:29:23 +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 8FC37349E04
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Aug 2019 10:29:22 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 890C16FF
	for <gentoo-commits@lists.gentoo.org>; Mon, 19 Aug 2019 10:29:20 +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: <1566210558.2094afa7f3a641588bea24b60600395ac4440cc1.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.7.1628.28_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 2094afa7f3a641588bea24b60600395ac4440cc1
X-VCS-Branch: master
Date: Mon, 19 Aug 2019 10:29:20 +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: bf6743b3-dc1a-402b-967f-e08ac2cfeb5c
X-Archives-Hash: e27570fbadf4687c3bf651aae2029767

commit:     2094afa7f3a641588bea24b60600395ac4440cc1
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 19 10:27:52 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Aug 19 10:29:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2094afa7

www-client/vivaldi-snapshot: Version 2.7.1628.28_p1

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

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index c6eb127ef34..373aeb0a8c8 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-2.7.1628.21_p1-i386.deb 61993780 BLAKE2B 98e787d2c5b5a8ff7
 DIST vivaldi-snapshot-2.7.1628.26_p1-amd64.deb 63561740 BLAKE2B 669ee724cb967e297c3e86e2e7fac292f839814150bf1505fce8b3117291601c80706f9f168bfc43ee3089053ec1a63292c6958fd6795a0f6fddfb3a88b94044 SHA512 ec761e3822354aa9cf19f2770e4ed56f4703645fafda3decebcd6728d3f1ba36ee6bfd54fc228efc868d36c172a62e328c9d81aa90c74a3decccb991c84fdf3b
 DIST vivaldi-snapshot-2.7.1628.26_p1-arm64.deb 56888812 BLAKE2B 29af1099adcc95cf1d1781b3a6417ac827a4900d67d4e9c751186de7bf73655d4f2f4e478890f7c22add940ce4bfe4c867b5e1db7133cc366c34e76753eb8776 SHA512 cdc2909db5b20f5c407c5d659d854e74ea3409cdf245404fe97e46ccd0e4b2513880a58859ec16762524bfdf65d23d7fbd5cf6607bc1f66f6fddb470920377d4
 DIST vivaldi-snapshot-2.7.1628.26_p1-i386.deb 61966124 BLAKE2B 04e40c1e2442f3bc07c4184a016ae7b63c39e05170bb7896f1bbda2f1194c5376eec2f32240e80f062496e0655a8e851e3c3e2e29eb2ea356101f02784e961e3 SHA512 19aed979e3336119d02e880d93a4ec27c41e264a4f38630939d66ea1ec997cbc7b09d2c8c157c81e43390e3a498e1baaa4753f2f059c9a2074e44eba3d1ad87e
+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

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