From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1094608-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 09196138334
	for <garchives@archives.gentoo.org>; Wed,  5 Jun 2019 14:40:24 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 091E2E083E;
	Wed,  5 Jun 2019 14:40:23 +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 CA32DE083E
	for <gentoo-commits@lists.gentoo.org>; Wed,  5 Jun 2019 14:40:22 +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 149A43455FB
	for <gentoo-commits@lists.gentoo.org>; Wed,  5 Jun 2019 14:40:21 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 396F5601
	for <gentoo-commits@lists.gentoo.org>; Wed,  5 Jun 2019 14:40:06 +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: <1559745603.1c5ec543471cd5c7e39730d35cae162f32aba726.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.6.1566.6_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 1c5ec543471cd5c7e39730d35cae162f32aba726
X-VCS-Branch: master
Date: Wed,  5 Jun 2019 14:40:06 +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: 03f919d0-746e-4882-9c48-558719f151eb
X-Archives-Hash: f88eec4f5459f64b0396943c63b7a7b3

commit:     1c5ec543471cd5c7e39730d35cae162f32aba726
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jun  5 14:38:56 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jun  5 14:40:03 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c5ec543

www-client/vivaldi-snapshot: Version 2.6.1566.6_p1

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

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index a17526465fd..b5c36a02e7a 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -10,3 +10,7 @@ DIST vivaldi-snapshot-2.6.1560.4_p1-amd64.deb 62534328 BLAKE2B 6e83acb739560e677
 DIST vivaldi-snapshot-2.6.1560.4_p1-arm64.deb 56424484 BLAKE2B df08f39c5e374debbc2d08f9d375e2f422e3f35e1e6e9146a54fb502e980d505d54d6d1704b9e7b3262c5b283b41d5b1f0119092d19a6578109ce680ef884b79 SHA512 4ff497a5c0616b6513752438434f9698d081927b269e3aa260c19aeeb480915917aa69f846065fd62d7deec99d3816c35a3d608ca9bb7ac451649fcaa5b74eba
 DIST vivaldi-snapshot-2.6.1560.4_p1-armhf.deb 55575064 BLAKE2B c8a69e3f9153ce414ac0dae778f60df9a121fb1f23a1af1982dd1a25728e6f7acd0984aa50d5bc02a55f6fb312e8d35f342c4b23797eaf3aad76a47fb17a2d18 SHA512 2898c44255e0619bb1c1e74fff2a4c82a936c656c342c25279b08b609f758f460be98401b4e63a05f6d2bd8646948c27e713ce4a2b75f4b8018511f23f23039d
 DIST vivaldi-snapshot-2.6.1560.4_p1-i386.deb 60990056 BLAKE2B a2ae9a4c97295aea74e6417f0cae0c00d8c12dba7e08e6bec39de9542c921ccfae8a33491e27e8de3c67c26ae7da6b0eb201813a2d68eacc41821f9d6e8910c4 SHA512 3196998e329ab24b0e631d2b3b63270dd229e013ce3b2d7baa985149514af09d0cadfe9fd6c41cb770afc816ba61b3b0446549f8c9c9c4ee4c31e38c6dde50d7
+DIST vivaldi-snapshot-2.6.1566.6_p1-amd64.deb 62531012 BLAKE2B 9bde451dbdf658e5e6eeea3d25241bc2a254e9e8e5f5d823d2052fd26a7985dddf963744d775d296b88a3ec85003b58d9ae302ba70a5a701804611a43274ec2a SHA512 5dfeefb6af502d5cb51a8981d389a9b55c94d3843386bddaa56348182b696f9225ad404ded03855993f4502fb5aa0086ffb4ee941c425164a49c2493f6595ac4
+DIST vivaldi-snapshot-2.6.1566.6_p1-arm64.deb 56455496 BLAKE2B e5f5f369422b26fb42fd069df30c87e7f8e64595acd8a8874ea3ac740bf6ed189c58233897cd7d4ab7005ef2f685b7334356fc3fbd90d9b914b677c8792245d7 SHA512 6ae1f1d4dacbcc278c96038ae201972fc94ad627a4a88ce9b9ba11e94bd2f39d47c497d09dc99b7761ba83c82fe5bd7c439950e96d98f8bc02fc496334d6dcf1
+DIST vivaldi-snapshot-2.6.1566.6_p1-armhf.deb 55602708 BLAKE2B fc532fe7eb6062d371b650a91be6da5105ca5a28baf8f8ef7abb3034e965d0fc3783dbef3e77eee4cfd355318659398a03f3d9f632863250a4c59cb772a468e4 SHA512 2f51ea7e16590b8bfb6a8073d6a7272c01b55a27d2584bd83e1d51637233c55fb0953020cd301351567ccb059e99b426841b69a6cd0420c18d5d362a8462a777
+DIST vivaldi-snapshot-2.6.1566.6_p1-i386.deb 60996704 BLAKE2B 0d6d53d5bdb93919ba367182548159964059aedd95bded24c0059e268af89799febc59d718678096182f9250851e6d83f25b29fb8c8b1555055bf2c3869f3766 SHA512 5105eeef8f743644075565150df2f3f404cee6dd9834460aa9bf2bbbb038ea5fc26476f7b173b5e25c65a71937d968f38244e81a9cdeda3ce07f48bef76d7881

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.6_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.6_p1.ebuild
new file mode 100644
index 00000000000..76ff637ebaa
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.6.1566.6_p1.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+CHROMIUM_LANGS="
+	am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi
+	fil fr fy 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} \
+		${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
+}