From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1045524-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 E9CC0138334
	for <garchives@archives.gentoo.org>; Thu,  6 Sep 2018 18:04:50 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CFB7CE08BD;
	Thu,  6 Sep 2018 18:04:49 +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 8C1FBE08BD
	for <gentoo-commits@lists.gentoo.org>; Thu,  6 Sep 2018 18:04:49 +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 E45F6335C5D
	for <gentoo-commits@lists.gentoo.org>; Thu,  6 Sep 2018 18:04:47 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3AFDC3BF
	for <gentoo-commits@lists.gentoo.org>; Thu,  6 Sep 2018 18:04:46 +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: <1536257027.4cb79261ca457dc5f7347cce1ceec782272f24b4.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.0.1295.3_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 4cb79261ca457dc5f7347cce1ceec782272f24b4
X-VCS-Branch: master
Date: Thu,  6 Sep 2018 18:04:46 +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-Archives-Salt: 2848fc78-6f2b-44e4-aa45-a0959c5cb472
X-Archives-Hash: ce4e9a87c74c13beded465bc2d131abd

commit:     4cb79261ca457dc5f7347cce1ceec782272f24b4
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  6 18:03:47 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Sep  6 18:03:47 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb79261

www-client/vivaldi-snapshot: Version 2.0.1295.3_p1.

Package-Manager: Portage-2.3.49, Repoman-2.3.10

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index bebe4736d51..3f8db22894e 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.16.1259.3_p1-i386.deb 54436966 BLAKE2B 8e35f0ff901004fc7
 DIST vivaldi-snapshot-1.16.1279.3_p1-amd64.deb 56431884 BLAKE2B 517a287feeb0028d1ce7baf8203a50e6f16ff8b12f0f5909cab1e83157a538dd6ebffbfc8c49015e453971e1e39404865b291293c9e5801106882f8004e2195a SHA512 bfb6cc6bdc72dcb8ae45d2e0675151e3a813bab7174dbf13f0dea5bcbf47a86119e58e7473cac3082350b3392e188d7dd50a7f6f6b1cfbb9dda14496a6693b25
 DIST vivaldi-snapshot-1.16.1279.3_p1-armhf.deb 49864320 BLAKE2B 58a6982e930ab7178221ab98c3785020b7551854ac00be98429168c40b4b09f4eea82a75b917b01b28cb5feec5f7be6327de4fc98e60538af3a59e338c5fc477 SHA512 f60946f86ac3a304da738f674087a57819989d015f625680ce0fb66ff37e70b1b37be77f72d23d000f91c8f27b92a6a29db0e3ef0dacd0e1c9031e72d30ecfb5
 DIST vivaldi-snapshot-1.16.1279.3_p1-i386.deb 55556044 BLAKE2B 2783e593a081bf7f7e6594c3a6ec3d9d8b5f8a8f965b7b129d4bd3019a7bbd01881806c2d9b4c9b9c9048340c4c0f806497dd8e7e54c6dcb2f959fe8496bf970 SHA512 3b9a56dddcaaacdf0d8e0cc95342389a97b3bce918179c374a0a55564ea1e6590a227641a5dbfe0c62ea647c5f2a431f81ab349a7e72f95348ebbd4ef45d3776
+DIST vivaldi-snapshot-2.0.1295.3_p1-amd64.deb 57416930 BLAKE2B ee2f36b1f8194b26b0a483ae14558a238ef18c430a9c0df7dfb634d29445be41e3d20085c770f4651867ce191133c3169e3bc5df6bbf8e4ad990b813c98bffa2 SHA512 2360785eb2ef0690a7c349434e7d1578fbb8159bdd74f2c518fd46cd188e877514d6f5e583cdf386119b96504b8ce725ab521d6dd69f49eb0554759112c0b44a
+DIST vivaldi-snapshot-2.0.1295.3_p1-armhf.deb 50800434 BLAKE2B 52d93913df567a1c32ed79f027b77b57b75e9d6e532169ee3e9b3427fb90c4aee8b4a1029f42a7be8f558dac5439a41e76d0f8868f5dca45983dc626948474de SHA512 c6adc12a7db4cb5049d1786242bcac8acefd59e875512f318c08c9d49d2fb117970dc413a8729248f31cea1f9d5631e9749dd608d4fbccc51a220b454a7ca95a
+DIST vivaldi-snapshot-2.0.1295.3_p1-i386.deb 56660352 BLAKE2B 5fb8baae790176deecaa99f79fff81b3b62b580f337d849a937eec31ae5507abe6de5bba9589817711b2bb732e5fefcb0726d1ec8803811e47d21ddf0275029b SHA512 522be155c89447d91a46f8fcf325f1f343f37c98392280e7d9dbb8eee938f1721f025e744f19a6c7a87fc2ad8ddfc9844bb3de69622f174bfaec335106cddea0

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1295.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1295.3_p1.ebuild
new file mode 100644
index 00000000000..e897c38d5d1
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.0.1295.3_p1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CHROMIUM_LANGS="
+	am ar bg bn ca cs da de el en-GB en-US es es-419 et fa fi fil fr gu he hi
+	hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr sv
+	sw ta te th tr uk vi zh-CN zh-TW
+"
+inherit chromium-2 eutils gnome2-utils 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 )
+	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 ~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+:2
+	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
+
+	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
+
+	epatch_user
+}
+
+src_install() {
+	mv * "${D}" || die
+	dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN}
+
+	fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox
+}
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+	xdg_desktop_database_update
+}