commit:     ea92a0f1c9b316cba2becb124d34b90bf44229e3
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 15 18:29:16 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Thu Sep 15 19:03:30 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea92a0f1

www-client/vivaldi: Version bump.

Package-Manager: portage-2.3.0

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

diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 57d4463..f630bad 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -6,3 +6,5 @@ DIST vivaldi-1.3.582.3_p1-amd64.deb 46854236 SHA256 
841142845feaafc279bab333bc00
 DIST vivaldi-1.3.582.3_p1-i386.deb 48403876 SHA256 
8baa5748ceb2d95ef9f4748440e2e7c2dbadefb47419daac6b4df6ba85c8e7d0 SHA512 
c29de15a607542b93d08768dfc7041e4f93a74b0e4cf61ac1453dac39b513f833b08e3335c588d2444f71923d81571a7b2ce544e7a96192f9b350dcc738cf9ad
 WHIRLPOOL 
b0791172a3831a3db86bab36da9641ef0b465e62e099e306e5d5d11b60014eca7cc4001ddec6f3cf2916cc01ab5fd9189b43dd35cbcc632751621a95c2059407
 DIST vivaldi-1.4.589.11_p1-amd64.deb 46375884 SHA256 
183b075c6e096138fb1c83918f2e9ba1f4d465c2284bb8c9991e1aece51fb801 SHA512 
f2c4b7a81bd58c10354f843db6f39a7ef915161abf5620685405550d2e6ba5805a5167a1a484afd85cf199fb9843b9086286368c0afa22a3a36e852a40bf1c56
 WHIRLPOOL 
6ee76e344b716495014b5968b06886a118ad2a7087dc613246c313220a0bd7d77b5bd1ae4dbea2747297fe3e799a4c55f7de9580597e9343ccc52a0a2a90e91d
 DIST vivaldi-1.4.589.11_p1-i386.deb 47912808 SHA256 
6e270e579e815450686bfa74906b6e0789e73c3c3ddd7dcc413b705e92196ad3 SHA512 
f0161f5e253db56ea50d4e9892e2924d2fdba42a14cff852e0b6984ac709bbb82b117537985be220d5f1c812e94b83ff58443af98c25380bddfd5f1501120627
 WHIRLPOOL 
75f8c608c46f7c09eb4dfe7d791db425b5283191791e647322f7875bca28047f015f947e10a57c00623fdf258b7dd2fb5fc46a12e660c68a5b0c681b437fbeca
+DIST vivaldi-1.5.604.4_p1-amd64.deb 46873076 SHA256 
ace212835706b6d0c9d9a27d5226cb3c92c0bfda6f83ab8f626103c5eddb7fc1 SHA512 
2b9f00e85ff761a82b97c73ef4cdc196d295ff92f47ebb0b3483735223962d02fc6fe0fed1425ebd5275a56160c51fff56086f261cdc953e0a22456e451f37f7
 WHIRLPOOL 
e0390ac400a91016d42501fb42b2f361d56d539fe68d8f18dc07efe6ef122cc00fe5879f2aae154e5ec37b67182a154e94732899b5900511ca45593170ca4134
+DIST vivaldi-1.5.604.4_p1-i386.deb 48544076 SHA256 
85798fc2e9f6dd2b8f7a39a6f30c85667d1f2a9d84887569f66d20de44e21406 SHA512 
db2908f565820ce01d27871f584fb6aeb4fd11a7d1496b3154e0d72a8d9fc52482024b329bf24c5aadda5d031ee237363e53f0295f982eec143aec88b128e754
 WHIRLPOOL 
d9ed75e15b6c476da9bfed3fce0430242a6f6f2e754fc2409541b3247418f8852275294db78e1e12a15ceab8b6e4e11265e73fe71ca91722be480325b3aaad43

diff --git a/www-client/vivaldi/vivaldi-1.5.604.4_p1.ebuild 
b/www-client/vivaldi/vivaldi-1.5.604.4_p1.ebuild
new file mode 100644
index 00000000..19616d9
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.5.604.4_p1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2016 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 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 multilib unpacker toolchain-funcs
+
+VIVALDI_BRANCH="snapshot"
+
+VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}"
+VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}"
+VIVALDI_HOME="opt/${VIVALDI_BIN}"
+DESCRIPTION="A new browser for our friends"
+HOMEPAGE="http://vivaldi.com/";
+VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_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"
+
+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}
+
+src_unpack() {
+       unpack_deb ${A}
+}
+
+src_prepare() {
+       sed -i \
+               -e "s|${VIVALDI_BIN}|${PN}|g" \
+               usr/share/applications/${VIVALDI_PN}.desktop \
+               usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die
+
+       mv usr/share/doc/${VIVALDI_PN} usr/share/doc/${PF} || die
+       chmod 0755 usr/share/doc/${PF} || die
+
+       rm \
+               _gpgbuilder \
+               etc/cron.daily/${VIVALDI_BIN} \
+               || 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} /usr/bin/${PN}
+
+       fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox
+}

Reply via email to