From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1060967-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 A32F1138334
	for <garchives@archives.gentoo.org>; Fri,  7 Dec 2018 16:36:03 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 67042E086A;
	Fri,  7 Dec 2018 16:36:02 +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 2D903E086A
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Dec 2018 16:36:02 +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 DE168335C94
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Dec 2018 16:36:00 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 82282326
	for <gentoo-commits@lists.gentoo.org>; Fri,  7 Dec 2018 16:35:58 +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: <1544200555.c52d3f4738fd8ec0e2d772b540801d712eda2f81.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.2.1388.21_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: c52d3f4738fd8ec0e2d772b540801d712eda2f81
X-VCS-Branch: master
Date: Fri,  7 Dec 2018 16:35:58 +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: 9db452d9-b181-4373-aa95-4850bcab4f56
X-Archives-Hash: d559de1b3fd11d7060ebcd97be7e1647

commit:     c52d3f4738fd8ec0e2d772b540801d712eda2f81
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  7 16:35:11 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Fri Dec  7 16:35:55 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c52d3f47

www-client/vivaldi-snapshot: Version 2.2.1388.21_p1

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

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index e08eabcff99..edd5917c933 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,6 +2,8 @@ DIST vivaldi-snapshot-2.2.1387.4_p1-amd64.deb 59263736 BLAKE2B 6866163bb324da2f5
 DIST vivaldi-snapshot-2.2.1387.4_p1-arm64.deb 51069626 BLAKE2B cd678b4f6e3c3d825a78fc8881dd204a77e41d8f8c4f95ff5eca40950eaa03dbcb7e34ff68038750fb1e011f5dd77e976fdbc0af13b230199d636ad7669f959d SHA512 c8f470e4dd3d6b9609e0119c26415b8d2bd29fa6a501eee4ae11cfa073436064134032617b9bb903fc68f361b86d3a47ce272110fee6e79eb2219b348e1b448e
 DIST vivaldi-snapshot-2.2.1387.4_p1-armhf.deb 51872670 BLAKE2B 98102e6629862aeee89c8d1dc2caad9f53308314457c2af19f91c532adbb2bbc672be019c502306432d25d794526710fedf72e6309f2b5eca5a00b75e8e3b77b SHA512 403036de4f84b0eb17e302f988033f78611a6eff75151be4c50f4c472fd04bb9538ade5b20e92f141f10cc5d7b527d8abb82e0b5c8b0a43e0adcc538ef13af07
 DIST vivaldi-snapshot-2.2.1387.4_p1-i386.deb 58121902 BLAKE2B c39ff1734511080876b05fe7900003db3e7e8c9a845d828b15a6c20463502b7ef6fe9cf9e992633abab4ca3f3e16cdf3ce3290786ea80a713d2c36ce1b58574a SHA512 580e645535d10687dc6eeb072ad7e7343a2ea32a264fe4f1d3304a217077a0d43d03cb9110e90696be50e1cc37c96518d92bfea5705afc526453e482414c0d99
+DIST vivaldi-snapshot-2.2.1388.21_p1-amd64.deb 59232412 BLAKE2B ce51257b27c543e93f62d55fe8bdec75f490707346e988e2266ee2b8542a7b4e3c24a8d5bc643cfc23b903092bc6867f234b9fcfc4024cb130da2ec7e4ddb8ed SHA512 01b10458e880f760b196610d61a49c35fac2de97a1892e662596383520dcc91d81f9a768bc2e0d9ffe3ddf1adfcdb71d5890c2924728997b74017d59032b5c5d
+DIST vivaldi-snapshot-2.2.1388.21_p1-i386.deb 58125832 BLAKE2B 7a2aef5e04afc8077ceee9acc6c0f9226d77f6b5d4353868978428678056e939a801e0f611d7639b65945135a5a9b7c344fd2a764d0ceba72cd2310c04f37e2e SHA512 3a1198634dc8e4ad407ea0ba256fd6971c28d84290d34843860de85115457f1b7804a0f936727b4c49e3160c14a074782a5e5d6562d7dd50a9296d54fd7c78f0
 DIST vivaldi-snapshot-2.2.1388.6_p1-amd64.deb 59268532 BLAKE2B bf40e2f41ea8ef24e86321c30d7b4da920b96091484267bef0834f23138cd5fab7ab9ef29bda16a6d2bcc7c7a746853b75c66b3395c137f5d49381c6a1aa54c5 SHA512 710d4afbde7093b62a36391acad74b402b087a646a22672b8dec38563eb304fea494aee6db9f18394fafd8335e441a38f233250c80dfa5dab716aa1772c306f2
 DIST vivaldi-snapshot-2.2.1388.6_p1-arm64.deb 51086016 BLAKE2B 69f6bf9f8ae1a308e524e4023cf20ab5cab2f4d933fa0bd046d1a70bd56438796be5f4aa147af8159c497a4fedbbb728ec0e607d1981e19c27f8ed85e87e71ec SHA512 93d8abd440f7845c759a48ae88fcb2b2fad90eb2ebff4f764cac91d3b0d1d50fe1b6ac5fafe0656492a3dd9a806fe5dec55a35c9147dcd5c7c7fb6f8af7a0564
 DIST vivaldi-snapshot-2.2.1388.6_p1-armhf.deb 51870478 BLAKE2B 76f28406b5e88d27b9b75c4b58932567f112e5926d2d73a7f2ff862ab8789d0b659bdb53d095e72e102ccd4220f91a7bb379e7d9e0521da7d6f87503b54fb5c1 SHA512 21fbecd0575f024096371a8e1e2b3225f42924c0c299394be8a4b0c95bd1ce728c1a3ac2a7277f82a38e9d3b38599b828493a4a487368234825ce4442bbfa928

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1388.21_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1388.21_p1.ebuild
new file mode 100644
index 00000000000..577cc25b023
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.2.1388.21_p1.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2018 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 )
+	x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb )
+"
+
+LICENSE="Vivaldi"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~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
+}