From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1104862-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 A3538138334
	for <garchives@archives.gentoo.org>; Sat, 10 Aug 2019 07:30:30 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CE1FAE08D3;
	Sat, 10 Aug 2019 07:30:29 +0000 (UTC)
Received: from smtp.gentoo.org (mail.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 A5DC4E08D3
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Aug 2019 07:30:29 +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 C535D3497E9
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Aug 2019 07:30:27 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id AF32962C
	for <gentoo-commits@lists.gentoo.org>; Sat, 10 Aug 2019 07:30:25 +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: <1565422223.9f2289e9a22ab93099a0434066d5042648207274.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.7.1628.12_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 9f2289e9a22ab93099a0434066d5042648207274
X-VCS-Branch: master
Date: Sat, 10 Aug 2019 07:30:25 +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: ceead105-ddd4-40ad-8fde-6f85ea38de0b
X-Archives-Hash: 470ee68fb15f437e3e1bb45130cd5145

commit:     9f2289e9a22ab93099a0434066d5042648207274
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 10 07:29:36 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Aug 10 07:30:23 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f2289e9

www-client/vivaldi-snapshot: Version 2.7.1628.12_p1

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

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 5cb3547c4f3..4ee7f641326 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-2.7.1594.4_p1-i386.deb 61820800 BLAKE2B 33826c95c1fbd592d9
 DIST vivaldi-snapshot-2.7.1609.4_p1-amd64.deb 63404516 BLAKE2B 805e72623bb1038fca9756b02303960accc015a6d6d588c4168b6ba8fcd97ceba9b24f7caf58174f02ee63a22be184831d2ca289557c091080860be1436c2c63 SHA512 d77293acb3e854f4f7be73a54771473fb2d58998114d21773c468da403139991c64ba9c2b1e75e6243e485476bc85c963784e7be6a5d032877b22f88bd19e35a
 DIST vivaldi-snapshot-2.7.1609.4_p1-arm64.deb 56789920 BLAKE2B e29d843cf36f913e0dd9730d6532da987e67f5094236e612e98dd75ca7cac47e3f22b93a96a042eb1bfd7634519bae6f7d7accee4decd0404b3c3a3190e0ea5f SHA512 1e226331b9fd2f0419c149e9a9e2ffee431265f834bfd36e332272624f16ebfb41418968df86f5e9f11a0a61792ef8673ec55c65c17b57675fb67ff0960f921a
 DIST vivaldi-snapshot-2.7.1609.4_p1-i386.deb 61848180 BLAKE2B 01a59545d0dddad331d49b1d9b859151c3689f4c091bf02d252f412e81546e73a67c30e8359234541b7be902ae386d9e9e8208fd2ba46912bedb8a41887f91c8 SHA512 b10a16f7cc61e1f9c7e30d0a0e5e6c2ad93559c0ddfbb45d7134ce86cec55642c857996136c000583fdd9ebb4d592d796991aec0b5bd4447dc996c6e2648bcd2
+DIST vivaldi-snapshot-2.7.1628.12_p1-amd64.deb 63448092 BLAKE2B cabf73f8e0d266286a11b17307b2564d2fd5215233e0fb21d2d6586c36fe5d0e6fa2de7c4bc57a99c6febb8a69c73cbffe07f0385eefdf0e8bf0b97eb1b2a011 SHA512 d6a64f6147a17eaeec3861ea968353b73f6118c0ed4a66ef5a38cab4658baff0fceade395c426bf06a4d659e9df457d5ba0ee2aa3f5fd7bc395c6e339c7d6610
+DIST vivaldi-snapshot-2.7.1628.12_p1-arm64.deb 56816032 BLAKE2B d5db584bcd24dc703a49d513f7ecd635338156bc2913b941e5fe6ae0ca9ec46f7ecee9fc49b58115ec25638c873b6ca4ba55123e082da8b1aa5955121be9eee8 SHA512 d91ea6fe1b339b574454d9585dfd13b73648d5476de6fd5fd453029e072bf0fa835d371757b4fb31591cbf58c7dcc9a508869444fc43750ee79a07b920f2a3f5
+DIST vivaldi-snapshot-2.7.1628.12_p1-i386.deb 61887948 BLAKE2B 96c69a625171b68318f619221bead066a02201b61f1c2ffa9b90f969f6051ba33ce4802ea866aaca6e91dc3bb93b3d00140c003704cebaf43b7e206dc21ae861 SHA512 669dee11456da5f086b9cc4a9e8cdf2615cf1146c30b112d476d015ec3fd29d627c3ffc18e24e17ba4b322667a77da3e716a2311dc1c4bdef7480f28aad131d3

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