From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1074632-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 328D4138335
	for <garchives@archives.gentoo.org>; Wed, 27 Feb 2019 15:25:23 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0BF40E0996;
	Wed, 27 Feb 2019 15:25:22 +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 C86FCE0996
	for <gentoo-commits@lists.gentoo.org>; Wed, 27 Feb 2019 15:25:21 +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 3CB2B335CFF
	for <gentoo-commits@lists.gentoo.org>; Wed, 27 Feb 2019 15:25:20 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 08B20545
	for <gentoo-commits@lists.gentoo.org>; Wed, 27 Feb 2019 15:25:18 +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: <1551281114.44832086c975123d224d21e32c52c364cc0115c9.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.4.1468.4_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 44832086c975123d224d21e32c52c364cc0115c9
X-VCS-Branch: master
Date: Wed, 27 Feb 2019 15:25:18 +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: c8d4f395-f4e9-4b9c-9a4a-3297109f4222
X-Archives-Hash: 3010d74984272e41877deaca4556e002

commit:     44832086c975123d224d21e32c52c364cc0115c9
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 27 15:24:04 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Feb 27 15:25:14 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44832086

www-client/vivaldi-snapshot: Version 2.4.1468.4_p1

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

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 860ae6915ae..0b89dd2e5a2 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.4.1462.4_p1-amd64.deb 60116246 BLAKE2B 8dabdb3f70530c246
 DIST vivaldi-snapshot-2.4.1462.4_p1-arm64.deb 55565414 BLAKE2B 9c3e1e7e17ac1487913931ec9c0772b84f5373683b82d6636040e75ab4b5a022c12b990a05709ee6fe35b806ebfb79e51ca398dd635648c34800595378984312 SHA512 d33602006eb1adfe3754388dade902c9e0c555696c06a47a06badad555e2baab671277e4964dbefa2707270213164ac6cd661a06c1863eab86f9a26ed2a967a7
 DIST vivaldi-snapshot-2.4.1462.4_p1-armhf.deb 52659610 BLAKE2B f742a496d8c2551b9f4188490cb49addc104b5eb16d407c6129f058febb78539206ef66131ea4ffe53460e4776e71bf8fa63070c786eb59e2c7ab8bc4bcb148a SHA512 e5830e944a824ebba55ef432d696880e55a4f9c0dd72d878a1ac2b0a0b33539c955bea3e5a03779ea97895b4c7a00802b66e581a7bb1c7314def4f3efefbc0f3
 DIST vivaldi-snapshot-2.4.1462.4_p1-i386.deb 58254202 BLAKE2B 66e2829eba56da4fb3e8de1f252993111666f778f02fa0ad3073d592a5587aa4fc0f8798b5b40c1aeaa39530731d0879d715e171ca42052084a9ad71c85ce913 SHA512 61631c3956cdff4a9a7cad40c033784e7af2556aabd4952abbffc02ea530ea18fc60cb167cd6405633d93b1d781129a7ae488bc7c08d75de9ef1a173a531b069
+DIST vivaldi-snapshot-2.4.1468.4_p1-amd64.deb 60127010 BLAKE2B 417d6d92a8e57037a51e1c6f452b65c54521702d856601ac0826d27508e0e42a6a49719f941009a608b2685cc8546dffab4d97bd69d1552c3e5c16097e46c285 SHA512 4be42bc0143a2c4d99c040496d60db4d0b162abebdd8a317faf2199f5f5748822ee013d9fd78ab40c66d048735e44b839ca62ff99d05e6bd67ef71740705cecd
+DIST vivaldi-snapshot-2.4.1468.4_p1-arm64.deb 55580634 BLAKE2B 11fbde72b6447aed924b8e36e02c6ddc0453b09a4ee0747eab49f2d56ccef040acfafbd3a086a2aaf4f96b9b6ed67a41592fdb23d74050a1b786dd4743e03f6f SHA512 7b0cb0bfd8698a2aca07d7058ca5348bd5f05ecf0333f6aa1337e6d99273f3abd7214a20a0d2251e4ae74cdff79308685abe2ffe0c4ba95f3e63052e3ba25d48
+DIST vivaldi-snapshot-2.4.1468.4_p1-armhf.deb 52667690 BLAKE2B 222297e246e2c1f83bb60606c1cbff2a337ac90eee514a82cc98a4a42c837ee813e4288bda2c313936bf9f6b4bd8cf0e765add2711d3a55228673f2c6fdb1d1d SHA512 cd6ee7647b4c10861177146962c90e12fce50c6f830c07ce7402b3ac16cd32ece5ae17833195ab267cb4def0373e9c7966d2e4600037a309d5917f7412f9d100
+DIST vivaldi-snapshot-2.4.1468.4_p1-i386.deb 58246838 BLAKE2B d6dd971408bb8a8c2224089e2fb1edb216f004fa39065956c70a27ebe7720f6f0ffdd1bc4473cae6fe8d9e7459cad9bb7c95778d8b45eb479a45e82b4876ee92 SHA512 08ad40d64765061879059124ea36f58df163e8b818f80f2cd08be6152f87011e7abb2932f4b82f65ecd16c28efe179b0820f75b7ac532fbf3a4785fd7ea0296c

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1468.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1468.4_p1.ebuild
new file mode 100644
index 00000000000..91bde2d5746
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.4.1468.4_p1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+CHROMIUM_LANGS="
+	am ar be bg bn ca cs da de el en-GB en-US eo es es-419 es-PE et eu fa fi
+	fil fr fy 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 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+: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
+
+	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
+}