From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1142564-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 AD61C138350
	for <garchives@archives.gentoo.org>; Tue,  4 Feb 2020 14:05:08 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E6FE5E079E;
	Tue,  4 Feb 2020 14:05:07 +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 B7AB0E079E
	for <gentoo-commits@lists.gentoo.org>; Tue,  4 Feb 2020 14:05:07 +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 0B49E34E4F2
	for <gentoo-commits@lists.gentoo.org>; Tue,  4 Feb 2020 14:05:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E94E9C
	for <gentoo-commits@lists.gentoo.org>; Tue,  4 Feb 2020 14:05: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: <1580825102.490d710e53a057aefaaf5f402adb9fd0696ae729.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.11.1811.3_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 490d710e53a057aefaaf5f402adb9fd0696ae729
X-VCS-Branch: master
Date: Tue,  4 Feb 2020 14:05: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: ff62e2e7-780a-4a9e-ad96-aec42f578ad2
X-Archives-Hash: cf7455659059356d8c6c52d2c0903245

commit:     490d710e53a057aefaaf5f402adb9fd0696ae729
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  4 14:03:28 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Feb  4 14:05:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=490d710e

www-client/vivaldi-snapshot: Version 2.11.1811.3_p1

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

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index a95fc86d0d1..61be7efca92 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -6,3 +6,7 @@ DIST vivaldi-snapshot-2.11.1805.3_p1-amd64.deb 67518936 BLAKE2B 63cad6603717f14c
 DIST vivaldi-snapshot-2.11.1805.3_p1-arm64.deb 60592608 BLAKE2B 159648be6f45d1980c273fc15958cf57a7cfa6b46d2353068dd2adf11cf7d5f3d7f45d27f8c0a6c0988067a7f0959c8039e5c3d20a881258e25719dc1d4c0ae7 SHA512 aec9a0170d0a875fee33891c9f5760573185b065a8700c6086d0168d22203ba4ab48c0040d86df9967ff3808ae0eda280030ecc478e0a61c6aa900629b4cfe1c
 DIST vivaldi-snapshot-2.11.1805.3_p1-armhf.deb 59942876 BLAKE2B e01aaa37f8327fecc27d1e626761502fcd13bf3479604fbec5ccfd2e77d0becc888b01c4232a3b3c2db40dd130bda3734ca15d291e9f762fd173db6aa65a2070 SHA512 44485b65ff509ff11a24c2a22c15b3df606c7df872dcf617440b4f0ee65a330273bad1196d7372f6a3038d7f15e759d1f818828125e244ac4676e64261a33b19
 DIST vivaldi-snapshot-2.11.1805.3_p1-i386.deb 66348980 BLAKE2B 01d8cd9f9b58732a12db30c650b72dd5233bdb6288e4794548ec2788d6ffd9b9fff9f4a9ff1b57c7b767c135b2ff8df2afcf92b2144ea77b56ad4fb86f3ca279 SHA512 c3817a0a4f81059618f09c7d1cf9c86a936bba3fad4446ed3582bef18836b95620113dc7f001c2c425001a59dc7b20f1e7d0289e1d6c8942cbd7aea204a3fdf6
+DIST vivaldi-snapshot-2.11.1811.3_p1-amd64.deb 67520356 BLAKE2B 7eaa25fbc8659d495191192cf69a49a9433c766751242aaefc2f016840ef039abc35b33b198e576f382b7872387b4532b08a989737a11d13f79ed3e54b81044a SHA512 a4c37ccf72136dd65694de29b93793faba70273c2f21f7f916e626d9a5764832a795be13e16e20e209503e7567273c96bc7323e8e7a207abfa245061082f549d
+DIST vivaldi-snapshot-2.11.1811.3_p1-arm64.deb 60586676 BLAKE2B 0b3dcb6c0e1655bd77a2303bf949d77165dafa5163a7ffd0dfae5b6705f45b355c851743850817be2b92dbb144d1f1e8d36aa987bb796c61667515577ee01c3f SHA512 6f37834e36dbc86701522b9a132285e26653f7e666b6e1a867e07da65eb5b195f8408c8d5cd5bf6481115604b92005ddb52e623a0f979f64b5e6244ee5f02b5a
+DIST vivaldi-snapshot-2.11.1811.3_p1-armhf.deb 59947216 BLAKE2B af41707f221828a85db7e86afe3ca6e791540c18e88cc50b0f30c57cf28c62927033f65106d2f17dc05d63cf9e11928e7c881ae9cbd2729b6f3ad37d0a3541b5 SHA512 eafe91598f3bf9fa88fff5bde127f9f72bb74f4c4d22db27ec9cb239b749c6dc2b17dce6f07652c977b9fea7c56bc2b8f97effab012891a16d8d82b1d9bb41d1
+DIST vivaldi-snapshot-2.11.1811.3_p1-i386.deb 66367316 BLAKE2B 5142018296fd5f4080fdd725c0f9bb0dcc649f87c6a44449c90110e3e92688930367c994de83d2f93959c77a6f813f0cfdb2df3702ee1601335306c3979e7b51 SHA512 307fa1cba3f3a1a45e2750a0794b62477727589241233c0fa97922f7ab660874614f5d1b49403f87417f112047e3aeb0127ff27c171b7ca973b837d7140552de

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1811.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1811.3_p1.ebuild
new file mode 100644
index 00000000000..23aeb880ad5
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-2.11.1811.3_p1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2020 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 )
+	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} \
+		|| 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
+}