From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-859960-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 46CA258973
	for <garchives@archives.gentoo.org>; Wed, 27 Jan 2016 07:19:01 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id C3F4C21C0DF;
	Wed, 27 Jan 2016 07:19:00 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 30B5A21C0CF
	for <gentoo-commits@lists.gentoo.org>; Wed, 27 Jan 2016 07:19:00 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 2E5B934069A
	for <gentoo-commits@lists.gentoo.org>; Wed, 27 Jan 2016 07:18:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 940C4CF3
	for <gentoo-commits@lists.gentoo.org>; Wed, 27 Jan 2016 07:18:57 +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: <1453879108.d94b0c2b55d9f52fb78b7bc1a9bf49af9ed9a2bc.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.380.2_p1.ebuild
X-VCS-Directories: www-client/vivaldi/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: d94b0c2b55d9f52fb78b7bc1a9bf49af9ed9a2bc
X-VCS-Branch: master
Date: Wed, 27 Jan 2016 07:18:57 +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: 2055ef60-a051-4aad-a443-84697ec7bd97
X-Archives-Hash: dbf324f2b2688b3e680bcb8e09c0a301

commit:     d94b0c2b55d9f52fb78b7bc1a9bf49af9ed9a2bc
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 27 07:02:44 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Jan 27 07:18:28 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d94b0c2b

www-client/vivaldi: Version bump.

Package-Manager: portage-2.2.27

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

diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index aab2daa..847734f 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,5 @@ DIST vivaldi-1.0.375.3_p1-amd64.deb 45034430 SHA256 4789eb4d4c286a9b187cb556b144
 DIST vivaldi-1.0.375.3_p1-i386.deb 45538444 SHA256 d182435fcbb94e63590a71315a02cb47b14d3a34416b268b88defa283ec8d6af SHA512 7796fbdef89bf017a46a16892f1f79205f3c20a94ffb9cc743c8c70fb61c5385ce217f4244ec4fe6e515fefbf0ae5bb734e0f76649e54f3c5a26437e3dd67cd5 WHIRLPOOL 50f86a0760223b5eddb13bc6c62a9070c6edc91714bb20c8ca9c05f9fc9d223cb787782f4060910522ef58a5282009c2462da3277d626034ea4d73157a967171
 DIST vivaldi-1.0.377.10_p1-amd64.deb 44007696 SHA256 01f3994438454e951bbde79bf337f4b35730cd47f02493ac547f1257a41db01e SHA512 41be0a6dfa036f13e69f08db6d7e99f4d7bceda8faed21bf5ef4c831796df574ddaf893b356b8a41d0fea6137c223538468a9253a54d9071400c72483490d7ef WHIRLPOOL 1441989abb20e535732f53cf522781db930f251ea2d0113fc8df251dfccd0142c9f8e37febb68045348976470934974d32f8b05a60bfd154e863b70960ac2b9b
 DIST vivaldi-1.0.377.10_p1-i386.deb 44514502 SHA256 9bc9ff3de9c761c7011575831339a2463678cec605425e5f11aad22bf8f6234e SHA512 0203b8ba3c3b2b06d2b42fbc01dd2498bd3a7e8f55bbbba3f2476e4adfd2d436a7be4ba75db3df3aab2765a812b4544087e731100e54f337169341589d779e53 WHIRLPOOL d69fa5273b8fe65b4aba7b651e0b0f255b810e5941e86e771b8cbb195df1ba78c1e5257b6c7fcb867127ddcdb8989fe16d149f5ef1f1967845795c449407069a
+DIST vivaldi-1.0.380.2_p1-amd64.deb 43968718 SHA256 395a1dde2110beaddc84e7cdd499a755221a77659fdd37880b46b61c40efbb61 SHA512 27be054bffb0cff5e3b4f3e7628184c2cb3a3ac3943287256c2881a9069dcb39578d4e724367365cb105f7fffa40a89634f8c3613a9fc6ea7265ee406148e17e WHIRLPOOL bdf9c530737e9c301afb0534427c090cef35a192ba3deba36205ca819d964c819f7c93b1061c2a2167a9166fcb19931e7cdd8e13dbbf01f93d3a84987910477a
+DIST vivaldi-1.0.380.2_p1-i386.deb 44523458 SHA256 21c1fd9e8608d8fed7aa0cc227239d61f95d6c6c27330bc2b9ca6a72de7ce87a SHA512 86c4af19eec49e880ae6e549c7ad9d26859965ee9c75d81b95e5df6ab35fa6c42b03d90d5263e21957d76e9f5a56ee80f0a100d688cbde0de86432f990581a55 WHIRLPOOL 73a6397d706841fa8d7fce7077b48797ddb1339c30d15429c5375cbe38cca35e42537603981f42a1a95591192af886b9b921eefa9f6a6afcd1f3c0956d6c3b13

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