From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1112778-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 B36CE138335
	for <garchives@archives.gentoo.org>; Tue, 24 Sep 2019 16:51:09 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A9469E08A8;
	Tue, 24 Sep 2019 16:51:08 +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 80C82E08A8
	for <gentoo-commits@lists.gentoo.org>; Tue, 24 Sep 2019 16:51:08 +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 168B534B522
	for <gentoo-commits@lists.gentoo.org>; Tue, 24 Sep 2019 16:51:07 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D58D07FB
	for <gentoo-commits@lists.gentoo.org>; Tue, 24 Sep 2019 16:51:04 +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: <1569343862.098241f480c05713bcfd20583f49e904e71f0498.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.9.1675.11_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 098241f480c05713bcfd20583f49e904e71f0498
X-VCS-Branch: master
Date: Tue, 24 Sep 2019 16:51:04 +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: 959be7fc-bbc3-4d1f-83f6-88661e9533ff
X-Archives-Hash: e81df0ac343bd5285e641426a905a748

commit:     098241f480c05713bcfd20583f49e904e71f0498
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 24 16:50:08 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Sep 24 16:51:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=098241f4

www-client/vivaldi-snapshot: Version 2.9.1675.11_p1

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

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index a90788b7ffb..16d25249fa9 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -1,3 +1,6 @@
 DIST vivaldi-snapshot-2.8.1664.32_p1-amd64.deb 64455104 BLAKE2B 169802cf91877b35f038c0612c870f98a5498611c924ea90c09613235f6a97e0ba3fef66d52e42f7676c0bef6805029afcbdc3362c631e9fb37d6d2c3154f1ee SHA512 d0847204ea0c54efe015b3f54580221909a00f40bd2cd1db421be094d534299595f1bcc999d10d516af592625a8ff30731836b0a116cd11d921a302fa509d8b1
 DIST vivaldi-snapshot-2.8.1664.32_p1-arm64.deb 57678736 BLAKE2B 15193cb5d1c1a8cfd2aff7eb5fed5bff16b82e9ce35264d54799b59074a783272b33b5ff3039ae6060261a39c9f76b1248d66b50f351bf6b8f0e2c61d153cdf8 SHA512 dbd6a4313ed09b871208f45321a00ad12a31dfd0bc90dd83b87eebc8162960b78cd325d44441164046b5b9d7e74fc616b0d17443ebdb6bc11ba8b1046079761c
 DIST vivaldi-snapshot-2.8.1664.32_p1-i386.deb 62764248 BLAKE2B 02db5f3f762bc468bdec49d327dc377c2575ae02714d6fdf83d14c745d72d96312af0f0862f8fa6edbb4ba43184fad13fd45b9da95bb54882d6016ee05721f05 SHA512 dbd483268368221d3602a6b907427334cbf499e24f6c5431c0b48b83b20acc92bfddd730228b375792ea6e2e6f68071e290cdbc356f049d1408511e34d2e2a77
+DIST vivaldi-snapshot-2.9.1675.11_p1-amd64.deb 64477540 BLAKE2B c0fc66b3ab3d41b6548e9871c2bdad397da7a677fac3a1d29e6efe71477d12d9b81370718b1905c80109f67b3dd0d266920de0b7fe6a9624c3f0a1471f094942 SHA512 cf9a2f1e94f496bd24c2033b4afc0663cd3ac593738d12b628fb4302f7538fef8b4db88d2a70cabf4614358f7370d78a69106c0cf703eace59cb071de719ae8e
+DIST vivaldi-snapshot-2.9.1675.11_p1-arm64.deb 57671188 BLAKE2B f3a6c4207bc473b9f73074dfdc353160feb0aa6f1d3d59c49f72829d3281e2713c3d07e8b5930fb2425705c26d198c94e7fc41a479f866406f4788f2df6ab314 SHA512 f12839817cc110048e79875fdf74c8f12970518e200b82f93f1954f91bf29cbf24b7ca98bf8ce7bc876a3bea9d27810fd15972e5730ab9b1efbdc68009f25b61
+DIST vivaldi-snapshot-2.9.1675.11_p1-i386.deb 62764488 BLAKE2B e1134a6fd91c5d5c812fff7e3623475e8d1e21d8dcefd65c45d569f1b48538779259fb1ebd8f6f9ad6bf8cad01c7ee314af843b671cd8036f56e97a33a4ae105 SHA512 21066d0e16fd5d016e2b63abdf60eaed176ddf0d96a3ae8eee40546167eb8f7aaaf3e3964a11ae33d63019f9ec786c500d7e8cd812dd89a76c5380421613956e

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