From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1136866-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 2A48C138351
	for <garchives@archives.gentoo.org>; Thu,  9 Jan 2020 16:08:41 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3B051E0895;
	Thu,  9 Jan 2020 16:08:40 +0000 (UTC)
Received: from smtp.gentoo.org (mail.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 12019E0895
	for <gentoo-commits@lists.gentoo.org>; Thu,  9 Jan 2020 16:08:40 +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 3570634DED4
	for <gentoo-commits@lists.gentoo.org>; Thu,  9 Jan 2020 16:08:38 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 4793235
	for <gentoo-commits@lists.gentoo.org>; Thu,  9 Jan 2020 16:08:36 +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: <1578586114.edfe83f0a5099b7b43ddbf18510d43597cbab517.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.11.1784.3_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: edfe83f0a5099b7b43ddbf18510d43597cbab517
X-VCS-Branch: master
Date: Thu,  9 Jan 2020 16:08:36 +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: 20108b86-0564-4832-9151-aec8bbeca105
X-Archives-Hash: 80086856031a630b04108761dd56e998

commit:     edfe83f0a5099b7b43ddbf18510d43597cbab517
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Jan  9 16:07:47 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Jan  9 16:08:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edfe83f0

www-client/vivaldi-snapshot: Version 2.11.1784.3_p1

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

 www-client/vivaldi-snapshot/Manifest               |   4 +
 .../vivaldi-snapshot-2.11.1784.3_p1.ebuild         | 115 +++++++++++++++++++++
 2 files changed, 119 insertions(+)

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 68938464052..55b83da09ac 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,7 @@ DIST vivaldi-snapshot-2.10.1745.18_p1-amd64.deb 66777268 BLAKE2B b7b539d8a91ba31
 DIST vivaldi-snapshot-2.10.1745.18_p1-arm64.deb 59632648 BLAKE2B 0c7f0d170c293f2bde1ca5648236c5b5fdb5954af49022d1e6e09975794288156aafd15847fcbd45d0a8c88dbb62b8f35177888b0534bbf3fd9b97f2b5fc93c0 SHA512 159bff677e9ab4ec0f549bf7b556caa405ab8c434b635ff4bd1123f58c23d3d7586c629cda4d433fed0df251635379cc0acf1a8b258b7f182f61b1f6f8cc1600
 DIST vivaldi-snapshot-2.10.1745.18_p1-armhf.deb 58899500 BLAKE2B 098fbb5850f85747c67eb933ab610428678ca2032f7f661c653215e1bce68ee9c21e4eb47b90eebb8f8cdac1bbc82c95c6be87156562e837e26e87a378897028 SHA512 34429745bf6e88e739e922f93bd5a9660a04a61ad6c0e40a141e3068bd861fd38847f542f02d25a0a1762f1f3f55095df8afa164ec773c41272dd2aa6bafda18
 DIST vivaldi-snapshot-2.10.1745.18_p1-i386.deb 65205008 BLAKE2B 4fda6b0e8f86fe193259bbe83d8836393729d9f6d8525d6fe7ad731c78bf21bbe1782ed60fc1e7a22b338d423878d0e024c3f773c67f97661fc890d066998e68 SHA512 e5c8962548e3fdac7505118225fa2fed8c63f0b87663c434e91bee70abdfd5e6159e37d1c3a4b65425b85bf6051bceab218cd0dad01493b75ae54290d4524374
+DIST vivaldi-snapshot-2.11.1784.3_p1-amd64.deb 66798528 BLAKE2B 2db566a77bcade69fc4e46a2076bf04cbdbbe39a36083ddfcc7b93527695466241d8b4a92fe0dbd596194143fa6fd6339abdf0819512b12735b5b9e2d9eb606a SHA512 9a8db2324c58c7c8ab63b2651dea7d498a915a26085c9c7fc6a45ff0aa64eb0a06c494edf1bee69a2d899da555cce1ca1a4e148a6483cc90cb361be4a2791a84
+DIST vivaldi-snapshot-2.11.1784.3_p1-arm64.deb 59670016 BLAKE2B bdb5e7468fa4a87b2c5fad5e3779eac220f38071aa1c23db09b07611af1b10ce6fb723d250e06e1f099975bad4f62e41f9e73e2caef9b703189de8d9d3388fc9 SHA512 6139e6ce648d601bbd7ed7c114735ab0110aa5a7dd11fca4ef7cc7ad9a9a52e3f60761b01e34442a0efe890d087a4e51bfde816c63ca82670d7031f2196eced9
+DIST vivaldi-snapshot-2.11.1784.3_p1-armhf.deb 58919200 BLAKE2B b28e3e8003b4c1e5ecb9a9d20ba87cc26d92b010dcb606dafa0cf2b19f0e778cb449dc3a931cf40f403d74a11a42808dadedb8049e42e6f6cb77ed792532ab44 SHA512 4a362ffa40c6f7f0af277f973b77b81e4540c1d0ebd3808f841512232147c205df3dca5f216397e6956e487750623fa2f4825ec86f53c2e39d413d964deb51af
+DIST vivaldi-snapshot-2.11.1784.3_p1-i386.deb 65216480 BLAKE2B 44f0b19965041b2d18b29a9628c6843eb851f344011b6c66f69a54db6fa9e8c18d6b9a388bd59a4de345b1349eb886f4878e0e47602a4d194f439e01fdb6e43d SHA512 e06d5f508b1fe87c812bda4ba64eebc6690edf42163ac36e707cf0c468f65a8f7b3399bb3f04ed72285f22685f0ae47568b36f4e6ffc1296c8dd62c1fac55ae1

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1784.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1784.3_p1.ebuild
new file mode 100644
index 00000000000..f9dfc0a1b6e
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1784.3_p1.ebuild
@@ -0,0 +1,115 @@
+# 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() {
+	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
+}