From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-840355-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 0D6AC13888F
	for <garchives@archives.gentoo.org>; Thu, 15 Oct 2015 06:04:02 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F2B5BE07EE;
	Thu, 15 Oct 2015 06:03:58 +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 8D39EE07EE
	for <gentoo-commits@lists.gentoo.org>; Thu, 15 Oct 2015 06:03:58 +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 4418B340AEC
	for <gentoo-commits@lists.gentoo.org>; Thu, 15 Oct 2015 06:03:57 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id AE67510AA
	for <gentoo-commits@lists.gentoo.org>; Thu, 15 Oct 2015 06:03:54 +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: <1444889017.cb1243aee33955bf8a88239b954184e3258dc3fe.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.298.15_p1.ebuild
X-VCS-Directories: www-client/vivaldi/
X-VCS-Committer: jer
X-VCS-Committer-Name: Jeroen Roovers
X-VCS-Revision: cb1243aee33955bf8a88239b954184e3258dc3fe
X-VCS-Branch: master
Date: Thu, 15 Oct 2015 06:03:54 +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: 7a2b8346-56bd-4313-865f-a8af3246fb34
X-Archives-Hash: f7a8d5841eac34263ce9424b2cfb73e8

commit:     cb1243aee33955bf8a88239b954184e3258dc3fe
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 15 06:03:37 2015 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Oct 15 06:03:37 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb1243ae

www-client/vivaldi: Version bump.

Package-Manager: portage-2.2.23

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

diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index e02f718..03d13ad 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -1,2 +1,4 @@
 DIST vivaldi-1.0.291.18_p1-amd64.deb 40035786 SHA256 057fd309ac396dcb1170a83dcc0ea9d1804839e6846dd607d92189d25530ed08 SHA512 1fc5508aed4f850ecf097e0551b0342dca9f29745a2f6161301ef993f289eaa82a10538ba47c64e53bd0b85cf4c5ea3358f680811c7dfa30649f36993e4960c1 WHIRLPOOL dda5ce0c847c80ccfdb4b94a6421297cecb95e6da59e24986d6162dd8c51fb52601e3f3316fb5008b1f921bc0fae8f2301ecc1ba55f7440d361978755a9b0fbe
 DIST vivaldi-1.0.291.18_p1-i386.deb 40162732 SHA256 f66debe9282d34e56f2b9309bce0e9d5f3f002165dc16c3e1931b27edf12f261 SHA512 e5caf75aae4dac7054e79ba36604a32363550dd94da5eeb0f9a217d512058e368d81c2fb1ef3a050ce725acaa239a323d0450ee724d6b4c5e73ad7a109fe8216 WHIRLPOOL 22e0d087aeb4a2c66eadbb73fb3b827c9480df46e8f132e7e2605335118a70cdb041842da5f2c8f34c60f2bfbec18be3915071a747bacbf2bfc1cf819464cb21
+DIST vivaldi-1.0.298.15_p1-amd64.deb 41851116 SHA256 726b32242c97466361ac3c1086d95206da2b7348c1284ae72f747c83ace6f600 SHA512 d8486edcf942fb657b947dc5e94aa85f268fd223c207272c56062c7249a51c7aee81a4799cc1684a7f9496652e92202cd8c365c6a5c910e190adceb5bc278f0c WHIRLPOOL 33240de635a8e92b65b62b8a61ba5e596a66033cff737fc3085c18b358b067b4f71b17aa7e6b4d25160a6aa772a1bcdfe1fc8cbdfad3db3aebd4c09576326b13
+DIST vivaldi-1.0.298.15_p1-i386.deb 42323724 SHA256 bd7798b948aac01dd760d33f84496358ce10478ad9436596fbfbbbc73d7dfc4b SHA512 6cf5f9707f44a79210c9f8ea804e8c7282ff3c7ab8d19fd68b0e683e6c48e1116e0bf3979c2b1f889dcbc83d727bcce2895d601e2133f0eac61c32b622c18e07 WHIRLPOOL e809a1ed90b1de6c9260036bc5a055edb18a5c6302588fd759c51e14709dbe40360942fbd2b87e69d3a1d96c0555696c61c2848b4c6df44e88c102e3463e354b

diff --git a/www-client/vivaldi/vivaldi-1.0.298.15_p1.ebuild b/www-client/vivaldi/vivaldi-1.0.298.15_p1.ebuild
new file mode 100644
index 0000000..c40dd91
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.0.298.15_p1.ebuild
@@ -0,0 +1,107 @@
+# 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() {
+	epatch "${FILESDIR}"/${PN}-1.0.275.3_p1-flash.patch
+	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 etc/cron.daily/${PN}-snapshot || die
+	rmdir etc/cron.daily/ || die
+	rmdir etc/ || die
+
+	rm usr/bin/${PN}-snapshot || die
+	rm _gpgbuilder || 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
+}