From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-991049-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 D37E1139083
	for <garchives@archives.gentoo.org>; Sun, 17 Dec 2017 12:38:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3C4C4E0C2F;
	Sun, 17 Dec 2017 12:38:04 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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 0729AE0C2F
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Dec 2017 12:38:03 +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 235EF33BEAC
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Dec 2017 12:38:02 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id DD02AAE7C
	for <gentoo-commits@lists.gentoo.org>; Sun, 17 Dec 2017 12:38:00 +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: <1513514276.9c27d6513419d0c96dbc7d5bd6f484281d1e6704.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.1042.3_p1.ebuild
X-VCS-Directories: www-client/vivaldi-snapshot/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 9c27d6513419d0c96dbc7d5bd6f484281d1e6704
X-VCS-Branch: master
Date: Sun, 17 Dec 2017 12:38:00 +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: 6315d892-7278-4c67-ac9c-b0582060c8b3
X-Archives-Hash: 0737a301b6bd02cc798b4820cb7832fb

commit:     9c27d6513419d0c96dbc7d5bd6f484281d1e6704
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 12:36:58 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 12:37:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c27d651

www-client/vivaldi-snapshot: Version bump.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

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

diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest
index 84a2d2b5115..ba48d1e456f 100644
--- a/www-client/vivaldi-snapshot/Manifest
+++ b/www-client/vivaldi-snapshot/Manifest
@@ -4,3 +4,6 @@ DIST vivaldi-snapshot-1.14.1036.3_p1-i386.deb 51157712 BLAKE2B 0d94000d871dbc220
 DIST vivaldi-snapshot-1.14.1038.3_p1-amd64.deb 50280622 BLAKE2B 4aa71d793d2fdfe4d35a4dbb401475a761b69c451bc6729b306f42e548c61b655017a723de0a1d1c114beb9792acac0d497d318d0a452e0ecab85f27f6b26f36 SHA512 e27b00629280dc8535488b6367122ca4416aa1ea27dad8f6cc231c9d05af6a4e3d548032fdd4e854955cddd512cdadef48aa627c10a6b33ae4d31db56598573a
 DIST vivaldi-snapshot-1.14.1038.3_p1-armhf.deb 46065648 BLAKE2B 6442142aafec2db84bff7df1bade96a1918eb3d3ea22c6c4b8585daab5c255ebe7fab2616938816c9fe94d306a3aa1b612e2a82f29af7a59957194b73fda8da7 SHA512 cbf042f97caa4f11281355e237eae1040cee5c7ab274d6a51a1445b4c1916aaca1693ee50b709efbfdbc46d037aaea25846d09f66b62a52849d7dfa99c641c4f
 DIST vivaldi-snapshot-1.14.1038.3_p1-i386.deb 51173448 BLAKE2B 1ade624b0b3de6b808d669290e070a283238269114450064395719705e77c8cccf52bc4cbfb6fff41cb9c000c22f168583ad4e98a5ef4b529f3dcf1cb5125253 SHA512 a3a35ca8bdaa29b63b79c85930a379a31dd9ef7fba877c464d105f9eae140255d4a984bac6a1910396be97c766b14e32529ff8774a24e9bf81ce1102e4068691
+DIST vivaldi-snapshot-1.14.1042.3_p1-amd64.deb 50287094 BLAKE2B 9c89f00576a555c1180d080616f36a9259fc7f00319bccc55150c4a34b11980e7fdf37fcf2ec93319a87666a910238185771ab37bc2c5f79927ebdbf1b6bd4e6 SHA512 ce28ac3a0f9d7767527f919973f3fb1523c4ef4088b873479a969a38b5fcaa7f38bfb100867fbf91f11bce5cfc7b68746bef11874b4696307c526ab4a3156c71
+DIST vivaldi-snapshot-1.14.1042.3_p1-armhf.deb 46091200 BLAKE2B e368823b206ae432659cd23fd349088054df0993ed37e92125f7c48a7229a63530ba145cb0f553aa68f5438ecb6fd70a473ebcfd8de4bc0c90925417147c049d SHA512 51bf9736ac125610242282be493b584dd01e84fd8bbb79b418c739478f04f3d53db949de801b5366b26c2b265c7a98b224420cd169fcd53563c584cd50527c0b
+DIST vivaldi-snapshot-1.14.1042.3_p1-i386.deb 51181200 BLAKE2B ccea3f9ea3d23cb8f944c49b1629b06081db72615216d244316066dd57f18e76e68b6203c0b0355cfc1add114cc7ede3e25e9fb75d3b7f7c635b29dd584fd556 SHA512 0c311577e336c5f95549a3d8d25259d468b6af10bbfb66c30fc7cd5d5837bf33bff9592ba7cdc043d66050e793a21e0e2d670657a397cd3ad132a61bcba4e0ac

diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.14.1042.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.14.1042.3_p1.ebuild
new file mode 100644
index 00000000000..2297488b834
--- /dev/null
+++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.14.1042.3_p1.ebuild
@@ -0,0 +1,119 @@
+# 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 )
+	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/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
+}