From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-996441-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 6EA5E138330
	for <garchives@archives.gentoo.org>; Tue,  9 Jan 2018 02:02:23 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8567AE09D1;
	Tue,  9 Jan 2018 02:00:15 +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 44AB9E09A4
	for <gentoo-commits@lists.gentoo.org>; Tue,  9 Jan 2018 02:00:15 +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 7D7E8341185
	for <gentoo-commits@lists.gentoo.org>; Mon,  8 Jan 2018 17:24:49 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 11D98186
	for <gentoo-commits@lists.gentoo.org>; Mon,  8 Jan 2018 17:24:48 +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: <1515432284.24450ae00c42edea84802fb5a79d4c33a3583bcf.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-1.14.1064.3_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 24450ae00c42edea84802fb5a79d4c33a3583bcf
X-VCS-Branch: master
Date: Mon,  8 Jan 2018 17:24:48 +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: c06fe4f2-640b-4051-9d0e-0427648d1caf
X-Archives-Hash: 0841f582557e0d08109e171892fa7ab8

commit:     24450ae00c42edea84802fb5a79d4c33a3583bcf
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  8 17:23:41 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Jan  8 17:24:44 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24450ae0

www-client/vivaldi-snapshot: Version 1.14.1064.3_p1.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index d54b36c536b..cc5b24d78e2 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.14.1042.3_p1-i386.deb 51181200 BLAKE2B ccea3f9ea3d23cb8f
 DIST vivaldi-snapshot-1.14.1047.3_p1-amd64.deb 50460060 BLAKE2B 3e44818b3cfb0b1b201dcdff6a74671c62b2cca682965e97515b87a70d8f3dc2b2acaf1166071190f3747d457532db47b4342b9c2bb838a1f3069147ca8e38d7 SHA512 8127a388ae9cdaf52df27bb99ecddf3d8ffc22b8baa6e57b4bed69bce116dd8cb461430c3432bdc61c28bb967d33ab182156271fd0ac1c22ae3d8b72f6b76840
 DIST vivaldi-snapshot-1.14.1047.3_p1-armhf.deb 46241108 BLAKE2B 83862abdb6e92d836ded87207b4d2602a5a3e347f143b062a926181041d5ae6556962c879b7d03d195946ba0e9625b2126e9ec78215bbe3a2b59c7a16bbc460c SHA512 725e4f05694c2cea36cbe143f62d8f7019c0373004815a0de609ace3f59ac0ca98ac97cb1bc65744f70bdd1d1bd4eec9ff8c0d890e6263de23e9ac67a0ae081e
 DIST vivaldi-snapshot-1.14.1047.3_p1-i386.deb 51347870 BLAKE2B 72dfa577d2f39bebe49a4d834e405bfe5e3b4391aea65639b7535af986ab426214347970f70d460f288fe1c07d2799422e7ae1f262709b22eb7c0cb730f87fc3 SHA512 8bd7e036db5776370276e638c4c42b4e2d89ab11fa3840103bdb68d765b9e52ad65174bb516ac8413b415bbc5aa9da3f5d951d5f83c2e232e35def8b85bcff84
+DIST vivaldi-snapshot-1.14.1064.3_p1-amd64.deb 50482824 BLAKE2B 08a25b11a9ba63ff731a27acaaaa83411342e94a249d3ef6b74ff8e69e877b3c6d2ccd2724469beafb81d462c5fc927ba049a42971fa854833676e2086259b62 SHA512 6930048690a6baa081a243558eea7fa70cc583b809b7d36b5f5331a5d17f62cd7f672c3c36100fb865e2fd536ab146480f28bdb75c08c3e8563c7e6b10028bfc
+DIST vivaldi-snapshot-1.14.1064.3_p1-armhf.deb 46248122 BLAKE2B e3cdaca603c1c6a9ca34fa50b12fc225d8e7fbac5966c2aeb8b36c4224af12c882d84f40a6213ccd966ad16b4eae93eee8dcf53ec8324d5c564ff42b90f5b0ac SHA512 46e4724c727f78d355e32e7d8dc482ec240dff2f42b10a16ea3549d83fa24149093dc4e5f85626b0059b71bdbc83323a1cdbc064e3ed63c4b29f24bbf3661960
+DIST vivaldi-snapshot-1.14.1064.3_p1-i386.deb 51362530 BLAKE2B 7ce16ba32329d5428ea4c4ccc84ff9bc7a450ef3765c1c6c8929884fdce41cc1a842b3ce70881c02f4f30e5a49f90df99e40fe6e6256a0aba7aa7803f75d6e1c SHA512 c3ecb7b61a036d9e99fbe5a0bf46a87d06c73cb9be3fc1429c89bf173044c53db9c5a1d367dc38b26aeceb83ad802c70a7ada7e91cefaac80fd083c7731e52e6

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.14.1064.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.14.1064.3_p1.ebuild
new file mode 100644
index 00000000000..a3680124874
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.14.1064.3_p1.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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 new browser for our friends"
+HOMEPAGE="http://vivaldi.com/"
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_"
+SRC_URI="
+	amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.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 ~x86"
+RESTRICT="bindist mirror"
+
+DEPEND="
+	virtual/libiconv
+"
+RDEPEND="
+	>=dev-libs/openssl-1.0.1:0
+	dev-libs/expat
+	dev-libs/glib:2
+	dev-libs/nspr
+	dev-libs/nss
+	gnome-base/gconf:2
+	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
+
+	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 "${FILESDIR}"/vivaldi-snapshot-1.13.997.3_p1-libffmpeg.patch
+
+	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
+}