From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-985354-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 68D1A1396D9
	for <garchives@archives.gentoo.org>; Tue, 21 Nov 2017 17:42:09 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B7805E0F25;
	Tue, 21 Nov 2017 17:42:08 +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 89871E0F25
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Nov 2017 17:42:08 +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 3741033FE7D
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Nov 2017 17:42:07 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id AA9F0A2B7
	for <gentoo-commits@lists.gentoo.org>; Tue, 21 Nov 2017 17:42:05 +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: <1511286114.c8cbedc03b43e2f60faeea9e0153d9eb5b0e5ab1.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.30_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: c8cbedc03b43e2f60faeea9e0153d9eb5b0e5ab1
X-VCS-Branch: master
Date: Tue, 21 Nov 2017 17:42:05 +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: 053fcf36-567f-4b4f-bd2e-8cf75ec2f2cf
X-Archives-Hash: c0cc22298af0ea90776c8c995ec5beb1

commit:     c8cbedc03b43e2f60faeea9e0153d9eb5b0e5ab1
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 21 17:41:54 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Tue Nov 21 17:41:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8cbedc0

www-client/vivaldi-snapshot: Version bump.

Package-Manager: Portage-2.3.14, Repoman-2.3.6

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 50bc532b9d6..28cf0aa3cea 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -2,3 +2,5 @@ DIST vivaldi-snapshot-1.13.1008.19_p1-amd64.deb 50245124 SHA256 048808dc36a4ac80
 DIST vivaldi-snapshot-1.13.1008.19_p1-i386.deb 51134116 SHA256 8cc9330a4d711f3f6ac240c8715943adab10f8ab5ab130cf75d8bb09d00f07a2 SHA512 e7a70b998792160e7d8fc00967634422b124d70bbdffedb10c572f9b28469a172df963c9ef7c9671f436092813ed7b6094849b93ce45b03be6a9412fb358d831 WHIRLPOOL 52872cd176e35789af201f1d01489fccd40cdc409ed0ced8e023759ce8809d26eb4cfae2ec66a20a91dbebb734f97f6f09eda729233a709ae0bde0940c8eabbf
 DIST vivaldi-snapshot-1.13.1008.21_p1-amd64.deb 50239602 SHA256 7e4561d9a9eddd85dd7a16ee2af53ec1e81a0c808c0b404257175a6dca81b8e0 SHA512 39d55f9294a16271c951ddf94286a85b9300da1f01dce33568a218ae8a47643291068fcd04bdba0c64727b732c4c61131ad6cd4be89471c377d40e3511c3f7c4 WHIRLPOOL 94f9d80d4188ac0974f14f94d6d66a6ad6cf3522bc86dc834020b2f976a1103a0825ccb11febcd987a8ad9e6f29d301a49354b61750a224798ef3518e75be1a2
 DIST vivaldi-snapshot-1.13.1008.21_p1-i386.deb 51125782 SHA256 a605236ed9552099aaa83e02ea4aa8ce787abc0f1c90904e9b6c839308cef39b SHA512 6eab1eddccf79d732cf1f61eb202bd2d4a64975e941f1a1e5892e04ca5129744c4c08cb03760ab3642e5cd30ecc3483692230f51511da539a4f1af03ba83b3e0 WHIRLPOOL 3a7461153f6fb72b3049e769c2879db8fedf8c683e1c2c2632c690b4de71f454ca3ed5cb5bd7601bfb6070fa9521a7517c23fbb990bc1e614b7bd504ff5182f5
+DIST vivaldi-snapshot-1.13.1008.30_p1-amd64.deb 50248032 SHA256 09c2bff740757d28d6c46340297d4182d4ee853f6e0222db3afef0fb3b02bad1 SHA512 8bc449d337118d46a670425d93c3675ac60706e7db2eb8e35ca44affc3f6c2b381fef1e459fcdcf4f8dfd781f6fba3101841459e015206e37d93ccc9723b1537 WHIRLPOOL db265ed8f7f380858f5e9d7f9c50e4a5846deb8d7f17ef051172996aaa344a10986541d84e666ab676806f157686533b0bb21dd8eaf01143cb767720563f79e7
+DIST vivaldi-snapshot-1.13.1008.30_p1-i386.deb 51135960 SHA256 bcdf2f4b2f25c17c13c7b5d149adeb3f7d5568fad44795841c49f4698c1c34b3 SHA512 ac2c563bbe96bc4164ac6165783037059d595c47f2ab612c3d437a6978d91cd9d1776425fc0f269123eeb5cdbf4a80899821764437f982c5cdf1c8eb932cb2b4 WHIRLPOOL 2917a58eb136511b8bec051dcc4483b6f2a00e26edc57ec48280fe09b1fbd00d22b3ec2e4c7015fbc74ae4ac5af002cfc3111f18873b02bd80fe885aa0bfdabc

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.30_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.30_p1.ebuild
new file mode 100644
index 00000000000..fff39bc2705
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.30_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
+}