From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-982972-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 9BAE3139083
	for <garchives@archives.gentoo.org>; Wed,  8 Nov 2017 16:59:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C9953E0ECD;
	Wed,  8 Nov 2017 16:59:30 +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 92165E0ECD
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 Nov 2017 16:59:30 +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 4284433C4EE
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 Nov 2017 16:59:29 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C552959C
	for <gentoo-commits@lists.gentoo.org>; Wed,  8 Nov 2017 16:59:27 +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: <1510160304.d71702cea5b1c1363c3c70b568cea065425af112.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.13.1008.11_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: d71702cea5b1c1363c3c70b568cea065425af112
X-VCS-Branch: master
Date: Wed,  8 Nov 2017 16:59:27 +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: 73fcba02-a550-4268-8404-3bfe30332d8d
X-Archives-Hash: af721fcee44afc6eabc4d2ee343004f6

commit:     d71702cea5b1c1363c3c70b568cea065425af112
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  8 16:52:33 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Nov  8 16:58:24 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d71702ce

www-client/vivaldi-snapshot: Version bump.

Package-Manager: Portage-2.3.13, Repoman-2.3.4

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index e54c70fa453..c19874b4be2 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -1,4 +1,6 @@
 DIST vivaldi-snapshot-1.13.1002.4_p1-amd64.deb 50482768 SHA256 d64d2109830e0695f962af612b3b80c802b4674db5244df839685913f78ae492 SHA512 813a81db6ee1f50b169748f919e2f2dcd105b1eb7270a0417e3350fc126a9230837559ad3de3690c0b377c74c7ab825b1e167f35690a30b2d03effe2fde10378 WHIRLPOOL 3ec738ccd48a91407bf653a9644c6bb017b09dde7ccbf82af838168e9db345184ab783de89e3ff91e20813c1c6aacc84b72f1d342eb52e4a0744c4e683359da9
 DIST vivaldi-snapshot-1.13.1002.4_p1-i386.deb 50945208 SHA256 4926821ade9e3876e68a3989cb70900db10a5805fc87af40eb4c7bb08ba18f05 SHA512 97a8068dbd68902f9516442ebf9dd9642b2611b6ec5c6f29c428694dfacceb3a42326fb97ad599e1c9ce2f227ce0f8bb23875fd58dfbac6fcabec3bc2f9adf9c WHIRLPOOL 912b7112a596d5a1433aefd3d9b4beee5712475022611d86111af14a007d5e915da241a0844a7716e0bc852b57e27cf5367394dd0f97d7498446c3189c2601e5
+DIST vivaldi-snapshot-1.13.1008.11_p1-amd64.deb 50222160 SHA256 1ebed0a30d6bd9c97dfc599c3853ab0c85fb937f93a92d0dd4ac0c519ebf845f SHA512 e0eaba622d2197ccf16f53d79636b7f9746b1db41f615f44777efdd582a46c46e4a55a58737ab9116a2f995ea305922729fb0b3c3ea74437d938822bc328e036 WHIRLPOOL 1ea39c1ededfba984f9fcfdcecf0a81669fbabe9afa254c3a9be4a68f33004b4377b3b13dff23ee49e67a818bb0350ace0a5e21b1fc6a25aad875ad959d6d38a
+DIST vivaldi-snapshot-1.13.1008.11_p1-i386.deb 51124850 SHA256 408d93d06cf0fca5cc5063387b3d125151cda02a077b7821879a4be64fc3b815 SHA512 2ec6592735fedfe1e3661c0882e785ba71006b96f3315c1bb0e7395fd4e2dae0c0f2ad07ebe45c60d8a826a7be100c534d6cf4fc4a797cb133cdcd57a5f3b2e7 WHIRLPOOL 5bf1ed5d0a16d304cbca41be40a21ec534cef8ce7f4147cbcd8148669d1391c6574a3408c6bc6e864ab23493e5e5fb1ccc462185c09713ad6651a1b741035585
 DIST vivaldi-snapshot-1.13.1008.3_p1-amd64.deb 50248920 SHA256 f80a072d7e02ac6844d3e7e99443b182c2442ea19c3e77e460b719fe7066a375 SHA512 73e40a6dc46849b9f78572e849f2bbc0d685ca5b46c1b2eb1d333dd2cd21fe954e25cd5434605788d6b2290f5b832d955ce938346462f2ba464c2d6bad8e2ad1 WHIRLPOOL 7dce017051f46008fc29252cdbaf296ec68f57ad440ba535273717e12adb6ba1daaa85b875a75607ce6b475e4ff09982c475bae9e4a8de6b185e7a5f930afca1
 DIST vivaldi-snapshot-1.13.1008.3_p1-i386.deb 51128206 SHA256 44aa8392265275a0cb6a16a6f1f1ebc0358c3be3bff415bf7ad61ef8ab6e5b2a SHA512 265b4649b0b67a69f07221118bd78f9c6675a7b8efd709aa0c3a0f272556512fde5349911ed5745121a37ead82d9cf36d11d0398a84d77a923d6e1a716104741 WHIRLPOOL 77fd37501190d4687a03d235a50ae90d7c78b4e0f391ff1e60232297525dea085d79c258ca857924fca1b29211776f40ab35a45dbf53639065703d9e3a59ba6f

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.11_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.11_p1.ebuild
new file mode 100644
index 00000000000..fff39bc2705
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.11_p1.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2017 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 )
+	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
+	>=dev-libs/openssl-1.0.1:0
+	gnome-base/gconf:2
+	media-libs/alsa-lib
+	media-libs/fontconfig
+	media-libs/freetype
+	net-misc/curl
+	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
+}