From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-874128-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 782D459CAF
	for <garchives@archives.gentoo.org>; Sat,  2 Apr 2016 20:59:57 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0257621C08E;
	Sat,  2 Apr 2016 20:59:57 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 8171C21C08E
	for <gentoo-commits@lists.gentoo.org>; Sat,  2 Apr 2016 20:59:56 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 57328340DB8
	for <gentoo-commits@lists.gentoo.org>; Sat,  2 Apr 2016 20:59:55 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 3287971
	for <gentoo-commits@lists.gentoo.org>; Sat,  2 Apr 2016 20:59:52 +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: <1459630696.47e3787a9f27de391b6ed85fec72c87822177010.jer@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/vivaldi/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-client/vivaldi/Manifest www-client/vivaldi/vivaldi-1.0.435.26_p1.ebuild
X-VCS-Directories: www-client/vivaldi/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: 47e3787a9f27de391b6ed85fec72c87822177010
X-VCS-Branch: master
Date: Sat,  2 Apr 2016 20:59:52 +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: 53415952-49ba-4d82-acb3-18cb9046153a
X-Archives-Hash: 6b2b191374081434eb7247670d3341c4

commit:     47e3787a9f27de391b6ed85fec72c87822177010
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  2 20:58:16 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Apr  2 20:58:16 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47e3787a

www-client/vivaldi: Version bump.

Package-Manager: portage-2.2.28

 www-client/vivaldi/Manifest                     |   2 +
 www-client/vivaldi/vivaldi-1.0.435.26_p1.ebuild | 109 ++++++++++++++++++++++++
 2 files changed, 111 insertions(+)

diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 1caf6b3..818b586 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,4 +1,6 @@
 DIST vivaldi-1.0.435.24_p1-amd64.deb 44978992 SHA256 d863c16efff48ad8583a51246d5fdfae56a8f75f8ff5615a3d7b9a26b289c2ce SHA512 1c0ae8776fd2e59dd1bd8b576f337af4cde97f4f18ed161685beae99367fc405bac1b5258efe003bf706160f615e5e269a6fef9773a9af5d45efa28b932cd117 WHIRLPOOL b04b37e7e7ed82f480c7e221e729a46dec9fbec86540602142a89eccba14d325dff79f4b7ba91d5a0a03fec11653d9089f0abf89d2b1734aeaa6c4f1e038a643
 DIST vivaldi-1.0.435.24_p1-i386.deb 45269018 SHA256 70ffbc0025096d2f28e3a8148d97565b8a7c1a107e2215c7fa8509ecf3fbac6f SHA512 6692df018f7d73c61b290cbdf097719a88217ab969acb8015ad4474da992b71838ae33498a1b61b33f4e762c71dba48b943a3ffb2a447d2e0d6b3915b32d65c5 WHIRLPOOL 943cb5a107300d9548ddd9291f342fad8e6aa978184956a8debc7c4f62c2ba3201fde4dfb08a4ca98138940c66502599ab7296a79b436b5399c7ef73cf03afa3
+DIST vivaldi-1.0.435.26_p1-amd64.deb 44924852 SHA256 f5e07f82c79d9a07ce1fab7b69e146aac0a0089abffa393fafac9e29784f663e SHA512 9b229ad9d8dd1a31a533173460e42eb88951adf6f817077b211c2b931571e890fac93650adc51f83e53ad7bef6de7a32cb6bb7a8738c46fe527667a2d9408382 WHIRLPOOL 9ced482fd03a1cd3969084575c106011f40b72d5729a39158372be69b1eb05f51aefede3f3bf597007252bd8719bec9c95204e42609b712a606d316fcfa13aff
+DIST vivaldi-1.0.435.26_p1-i386.deb 45276406 SHA256 9fb27e46fd6dbe222221b88b1198a94b3c951e222ea84957951ff1b7d1689d9f SHA512 8d7774ea08c6ebd557f7ce385c58ea27626b1273a0d36a662ed168d367bd6079b1c5d0c6c8a3014deec0cf3c48f7c3af40a49694a4635fcbbf451bd82f43197f WHIRLPOOL 7f296ec41cbea2d6fa9c2de10cb46b62c28e944606036f77678c78c4e36a45d74a154bc001a6d23c1295a381b73e187587c79dfb664e23d4c31319af08feb594
 DIST vivaldi-1.0.435.5_p1-amd64.deb 44918106 SHA256 d25b28b8531bf61fb7b61ef848b5eb896a41cffb63014551185dbd2400ffa010 SHA512 0c0ed7e2d9134b231061a6b4997a22e57ae1735208bf7ef4832e984158e6be428836f628289d1af4fd05810c5083eb91b148379137cc62f51515b94744f2a2ec WHIRLPOOL 1dc4d08a07876d4c71a79a971b21a9dc208e4c3ee2e15910e73a2743a0114f8922618b5bc853574ca13168f2d2807cccbf9b027c33fc0494e770813614e6d5f2
 DIST vivaldi-1.0.435.5_p1-i386.deb 45308216 SHA256 75fe563a680bed1e9e8986394abf076767544c1fe7942a7bbec3cba0129c5318 SHA512 0d6e10a5f482bdf725fc39e316755184e7158fe3c771ede8061d8c8e31db93bbba602f5018be5f8dc4eea04b4c1d42741c79ff62c2e8fa2b8516b6982d36cdb6 WHIRLPOOL 9cd2c42058916a796cbd5a13d69bcad8749cc440aa3b9101ef0829b1447aa5ae0253028d3cf40057ae05953d78c13a1997deb9fa70b63852a86a8d3b11a2ddd8

diff --git a/www-client/vivaldi/vivaldi-1.0.435.26_p1.ebuild b/www-client/vivaldi/vivaldi-1.0.435.26_p1.ebuild
new file mode 100644
index 0000000..b1d3702
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.0.435.26_p1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+CHROMIUM_LANGS="
+	am ar bg bn ca cs da de el en_GB en_US es_419 es et fa fil fi 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 eutils multilib unpacker toolchain-funcs
+
+DESCRIPTION="A new browser for our friends"
+HOMEPAGE="http://vivaldi.com/"
+VIVALDI_BASE_URI="${HOMEPAGE}download/snapshot/${PN}-snapshot_${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"
+
+S=${WORKDIR}
+
+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}
+VIVALDI_HOME="opt/${PN}-snapshot"
+
+src_unpack() {
+	unpack_deb ${A}
+}
+
+src_prepare() {
+	sed -i \
+		-e "s|@LIBDIR@|$(get_libdir)|g" \
+		opt/vivaldi-snapshot/vivaldi-snapshot || die
+
+	sed -i \
+		-e 's|vivaldi-snapshot|vivaldi|g' \
+		usr/share/applications/${PN}-snapshot.desktop \
+		usr/share/xfce4/helpers/${PN}-snapshot.desktop || die
+
+	mv usr/share/doc/${PN}-snapshot usr/share/doc/${PF} || die
+
+	rm \
+		_gpgbuilder \
+		etc/cron.daily/${PN}-snapshot \
+		usr/bin/${PN}-snapshot \
+		|| 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/vivaldi.png || die
+	done
+
+	pushd "${VIVALDI_HOME}/locales" > /dev/null || die
+	chromium_remove_language_paks
+	popd > /dev/null || die
+
+}
+
+src_install() {
+	mv * "${D}" || die
+	dosym /${VIVALDI_HOME}/${PN}-snapshot /usr/bin/${PN}
+
+	fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}