From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1093433-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 B143A138334
	for <garchives@archives.gentoo.org>; Wed, 29 May 2019 13:26:57 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 5976DE08C9;
	Wed, 29 May 2019 13:26:56 +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 2EE80E08C9
	for <gentoo-commits@lists.gentoo.org>; Wed, 29 May 2019 13:26:56 +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 4E7BE345254
	for <gentoo-commits@lists.gentoo.org>; Wed, 29 May 2019 13:26:54 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 19B125FF
	for <gentoo-commits@lists.gentoo.org>; Wed, 29 May 2019 13:26:52 +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: <1559136410.7658e842f407be71cefc98ffc4ed5b974c611dbd.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.1560.4_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 7658e842f407be71cefc98ffc4ed5b974c611dbd
X-VCS-Branch: master
Date: Wed, 29 May 2019 13:26:52 +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: 9b72d5fe-d3e3-476b-abd0-f91c3adad840
X-Archives-Hash: 4b5f27228a52f75e837bbb422e2319aa

commit:     7658e842f407be71cefc98ffc4ed5b974c611dbd
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed May 29 13:26:13 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed May 29 13:26:50 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7658e842

www-client/vivaldi-snapshot: Version 2.6.1560.4_p1

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

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 4f5c7cca0d5..a17526465fd 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.6.1554.13_p1-amd64.deb 61743740 BLAKE2B 4b2b43acb80da72a
 DIST vivaldi-snapshot-2.6.1554.13_p1-arm64.deb 55822200 BLAKE2B 292b9e08eadbfd869c8e154bf7c82eb0fbaca43dad3b20ad3c09d4609a1f3890c4b8289267a302cf62e50df0bec8e7cc0f7eb3c636df5c84dc050080a845980d SHA512 f9b680caf36755d0f6d5af4731af5e7a9516706e11c109e69d2ee288a2741cb3da5f9f228cba82f59673d3527e091e80cc1b22dfcb1dfb8cf0c3d037ed460020
 DIST vivaldi-snapshot-2.6.1554.13_p1-armhf.deb 54950556 BLAKE2B b888453e1e6b37fee26c464670dc6369538c1e79f242b10198df0071fcbd67752262542edb10797d1dce9d7ad6305d101af136ae7774fae0e5d3e6c361699577 SHA512 643beaeba2370642f936dca31dd5e87ee59a46734256c9aa14f0e059d831f7c6f9c6e25e495ddc6d026a857a360339b62211b6d1a2b0f030379dc19cbfe4c398
 DIST vivaldi-snapshot-2.6.1554.13_p1-i386.deb 61064144 BLAKE2B 2669b50c1c685b8b0a3636ea79a8f3166c7fd9ec1b7b2b36c2e6c99bbba950c0e9c22727961c3cd99364a1f96e8675d50c4d7f5c63c14be954f56daac5ebacab SHA512 f6b7d5c7206eebba1a37592a138580fdd3d58f0ba15cbf700a1540e55db46de61fac4b6786b8b8dc4db4fca9061d9b022eaabd3e311ab45bb8389fc29075bcd6
+DIST vivaldi-snapshot-2.6.1560.4_p1-amd64.deb 62534328 BLAKE2B 6e83acb739560e677fa08d94df11770930d18a862364edd4a373c1a50bc0c1005d0f6957d7fbadec68a503b7a71f13e1f70e1f36bf6598599fe506e8b9ff5689 SHA512 973777848daa18009da8faeba9efef44006f3e93c4fd14edcdbf40e423b617f89adb4768e7a2a307a5564b6b3b498cd8c29f18f8191994472295d58308a98be2
+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

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