From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1151759-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 0B27E138350
	for <garchives@archives.gentoo.org>; Thu, 12 Mar 2020 07:00:47 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 49616E08CE;
	Thu, 12 Mar 2020 07:00:46 +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 207D3E08CE
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Mar 2020 07:00:46 +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 D68C134F135
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Mar 2020 07:00:43 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6CB0C2B
	for <gentoo-commits@lists.gentoo.org>; Thu, 12 Mar 2020 07:00:41 +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: <1583996439.4f6be7e1a4b653199a7a661902fe7856f1996edb.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.12.1848.4_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 4f6be7e1a4b653199a7a661902fe7856f1996edb
X-VCS-Branch: master
Date: Thu, 12 Mar 2020 07:00:41 +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: 4a98a6b4-5478-4746-89bd-9cc3f607914a
X-Archives-Hash: cf41749149b70fabe10692aa05e7ffa5

commit:     4f6be7e1a4b653199a7a661902fe7856f1996edb
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 12 06:43:26 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 07:00:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f6be7e1

www-client/vivaldi-snapshot: Version 2.12.1848.4_p1

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

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 66784134cda..2087a6c5d60 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.12.1843.5_p1-amd64.deb 68982688 BLAKE2B 9bf495533fd1eb98
 DIST vivaldi-snapshot-2.12.1843.5_p1-arm64.deb 62103744 BLAKE2B aebcc7509ce192dc3845eb000a05ecd0ad6f5aa507aa7442bc4b1460d998174ff36e979c766e7af15a04087cafc5486f409e6329f9d34201a202afbc63b318e8 SHA512 77256324655c1d39e2379f929142fd2c885313980a570b0ff9ec45aa3beba17d01f032380251d673b98b9ef56860e57085824e81a9ab8b81aff361a8bf817fc3
 DIST vivaldi-snapshot-2.12.1843.5_p1-armhf.deb 61397064 BLAKE2B beada5988db61cb211a76bb21b1db77d106745451e6aaec889e6ea60ec8fb8cc9b7835534dbba77c2a9c73ce1246ca7f584dcd05b02dc8593e0a9aa6a6ed6bab SHA512 1b4d17e3fcc6726d4d96330710a91620910255b13997a26105caa4a54b45e6fbcbbb118fdfdc5b93aa6f21f88b7a1bda6175466f5e3ed7e28655a592da358b28
 DIST vivaldi-snapshot-2.12.1843.5_p1-i386.deb 67714672 BLAKE2B cae0267b8162e0d40dcee55a930296290165a1252cc6bf222dd5f26eadc26b2d56e0f9a0d27e0a92063e91ae3c7d61a41d55d3db4e40d80abeb2fc4d1004c1c6 SHA512 b55885f3e47e4709300e2d83a0772d09ab27f65f76d5a58087d9bfb2de6ec9dd452ffcc64425d3fb46bf0360ea971fc250bcb8f482c60f8f1f21227f4aac086f
+DIST vivaldi-snapshot-2.12.1848.4_p1-amd64.deb 69009980 BLAKE2B 006be4ec000b2154099aed5f5012683157f263c19a7611dccc3b550e0c492de8df109376eb7980a93a0776bfec22b2039de016d3f0fed009a57f9e27dcb2e237 SHA512 e1066b1a3e60b8ca540cbdaf4a3e5b382e4daa27b80dcea02f19f16e4d3c85bc85879aa9cccf90cb98856f841a7eb65de52742949b4d0039f913f5dc49ba9953
+DIST vivaldi-snapshot-2.12.1848.4_p1-arm64.deb 62091288 BLAKE2B 50d07892c45386ba13de9f46cbe75c02b9c82b600f57198c267255146ef65c5089778cf4e185e1e023a79153f51d115cdffdae216b99e1a21e57581f4d48ec2c SHA512 26e1057421e7818a44f33ccf2b134e00f12a6602bdbef417965775b1cf92b94dfb60e5e2efc39775dd04bd269791f448ed54d1f746ba7b3e8448041001137523
+DIST vivaldi-snapshot-2.12.1848.4_p1-armhf.deb 61432824 BLAKE2B c8bf4a6013823b6f1714de1730ef851e9d2f2a27bc9d46f76c403e5e266d275072bd3a064db7060100543ce66fa234bc47d481dc1133a772839d318374375d53 SHA512 146b198245c14b17272251e61cd7654b25d31757f669491b44eaaabfb2a80245cbd2945beace4a310db89ae38ac5aa000782e9beea321ba6d6814be2c06ef142
+DIST vivaldi-snapshot-2.12.1848.4_p1-i386.deb 67753028 BLAKE2B 17664be398476d91c3036c4c3865c605c6b06de5cd0ba97c32aec6476a66dbedae9ed461ac37a097041e08424e01cc8ef2130b7cc1209313cca344ee959512d6 SHA512 02d88933b01ca2030a26c8f99127ae67ba2866c6a640d6f02c7585d010f75d108e06466dc40cb67d2e9c63f02e4d36a9d81eb401bc7b246b311bde52318fa02f

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1848.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1848.4_p1.ebuild
new file mode 100644
index 00000000000..db3613b057e
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.12.1848.4_p1.ebuild
@@ -0,0 +1,116 @@
+# 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() {
+	rm -r usr/share/appdata || die
+	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
+}