From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1051211-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 410CA138334
	for <garchives@archives.gentoo.org>; Wed, 10 Oct 2018 05:07:07 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 31B75E088D;
	Wed, 10 Oct 2018 05:07:05 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(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 EB650E088D
	for <gentoo-commits@lists.gentoo.org>; Wed, 10 Oct 2018 05:07:04 +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 D85FA33BEC2
	for <gentoo-commits@lists.gentoo.org>; Wed, 10 Oct 2018 05:07:01 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 113533D3
	for <gentoo-commits@lists.gentoo.org>; Wed, 10 Oct 2018 05:07:00 +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: <1539148016.394e6fd579c903731c1434f78bda94309bf04ec1.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.1.1328.4_p2.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 394e6fd579c903731c1434f78bda94309bf04ec1
X-VCS-Branch: master
Date: Wed, 10 Oct 2018 05:07:00 +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: 58d24823-3a6d-4e5e-bd77-3ab12f61fa36
X-Archives-Hash: 6c3de2a6860461ed7802bcab76425627

commit:     394e6fd579c903731c1434f78bda94309bf04ec1
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 10 05:04:07 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Oct 10 05:06:56 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=394e6fd5

www-client/vivaldi-snapshot: Version 2.1.1328.4_p2

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

 www-client/vivaldi-snapshot/Manifest               |   4 +
 .../vivaldi-snapshot-2.1.1328.4_p2.ebuild          | 118 +++++++++++++++++++++
 2 files changed, 122 insertions(+)

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 6bb3919e959..b2c88616d7c 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.1.1322.4_p2-amd64.deb 59786836 BLAKE2B b8bff50bdb60c2127
 DIST vivaldi-snapshot-2.1.1322.4_p2-arm64.deb 51899344 BLAKE2B ea2583529002760eb79c76110605f2b5600fa244583f6df06a4447b38fb4fc62c4b5fbd4ab9c08c7795a66a48f5c1585b67c540e653ef2adfc2aa8200031f43d SHA512 ee1578fbb3f22dbadafde60b3cc415bd0b2250bcfc61250f57c5c0158ba55a9cdedb44087d6c1995c923d05f765d049d7f77db3d559d6b05e35a3a5e65d02c2c
 DIST vivaldi-snapshot-2.1.1322.4_p2-armhf.deb 52667198 BLAKE2B 5cac3b2da91026ceab5b2cdac5a002ea80fba7dc4b0588443687a04f7bcccf35e83d87de77a50c357acd95a580e50977ca20ced0cad47ce4a02d3dfc8a81b4dd SHA512 75a3fd46eb2a5c3128d8e46eac12cd432da203ff658171725e0f2b833b5fe91bb4caf4f029fb9d4fc1607ab97052135826b7d61bac0d401da1da98a48ce6a579
 DIST vivaldi-snapshot-2.1.1322.4_p2-i386.deb 58598378 BLAKE2B 7f7b205303a8d8eace01c9f94326af2ee6b92cc37c993cc2c18ccbf70e2a27ca16dbdd8f35de400811c86264f1c6374fa7886ef47b4e405edec38e2b05550d85 SHA512 46d14eee44bad24660e9489bcdfc88aa53ee63fb7cf2b81d7f16d23a0c0e26777c0af9059a311444229cf17e1208b2f32bb301c0a07e14434615b600ddacad3c
+DIST vivaldi-snapshot-2.1.1328.4_p2-amd64.deb 59792998 BLAKE2B da33109395c87a76a98fae6785900e562543c0bd450af170a88868e8bdb7f3dcf1d72af901d98fcc1ae900f83faefc73c4a17e279e6031e163743e1106bc4c86 SHA512 568ad5e902063a0df5fcd956f736787c76a2e674d48d651dba0d79f2d564b604820277a08c39d4f57c34fd40e1b1363536764a57a9d67ebd138b2e4caf67e3da
+DIST vivaldi-snapshot-2.1.1328.4_p2-arm64.deb 51920646 BLAKE2B 90d01dcecd8d3d876e85bf8e144e78a0e84da27c4b143ec7d0f8758acc7b5a9d760895538811380275430e5344d5fc205a66812eae0ec80d6052ecbe088206f1 SHA512 67fcfcec5b73ddb1957fd00e84bb6206f32d25f5507f58d5907a1221cf5649f3a55f7ff0749d250d8ed8a8eb44105f051c0281773bd9605f1584fdf0585de48b
+DIST vivaldi-snapshot-2.1.1328.4_p2-armhf.deb 52678238 BLAKE2B 82c94e3723cb687ea92391a706c1b1819f2b46dc60b373d4e6d70869c50307b2fbd49b8400b505f2da92181fdf3ed968c7adc3d05341cdc167832474bc77d4fa SHA512 2bc4c19e8fadd5180d38f53ada40b0d0b98c243a3373570ae26d915170c8c56a389e326a5c0485f4014684f7fbbe30b0383e672f7617e95a1b1e34a65d536050
+DIST vivaldi-snapshot-2.1.1328.4_p2-i386.deb 58611190 BLAKE2B 74491a7ffd3ad4957e30d9277b893a92b3f2b04562721a78d0bf6590d809b4f8f600dec30939b7a73171ef586983db6478d8f5f0a933703b23d9dd5e6de34ed1 SHA512 fe7d37d4f014cde812c66f7023430d0214da9dbb96d544a7b24ce8208fe6c485dc0c8f37643594da94e4db785de19f50c0a89de9f6b3544dd042b988494766e6

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1328.4_p2.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1328.4_p2.ebuild
new file mode 100644
index 00000000000..91b5d4fe6ab
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.1.1328.4_p2.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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 )
+	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+: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
+
+	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
+
+	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
+}