commit:     3caebc20fbea0d5b2f4ce7e1d36b8ce01eeb0bb4
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 14 20:37:08 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Nov 14 20:37:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3caebc20

www-client/vivaldi: Version bump.

Package-Manager: portage-2.3.2

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

diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 8e569a9..b0baaa6 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,5 +2,7 @@ DIST vivaldi-1.4.589.29_p1-amd64.deb 46300958 SHA256 
e6852d92462c961b04eef7beac3
 DIST vivaldi-1.4.589.29_p1-i386.deb 47999782 SHA256 
4cf93c5da656cde9e83d101ae9ce39de1c394a9fb2efac25fbbcd35ea24c9430 SHA512 
1592dbfc5b95b95a77ae5523e09b390f71e296775b6dcc84395b8b8d2dee673e8f957df4e006133513c2d86a2dc5133ae3cea3d870b370ddee29151bfea0951a
 WHIRLPOOL 
9a2fa8aeed6e839aea1a0ad46d0eb147caa86e0ce02c8e778fe755188f66e45b4412928d4e1919dc9af1d944439ad504131508e8bb09406fe13ab0b48d03999a
 DIST vivaldi-1.5.655.3_p1-amd64.deb 48014816 SHA256 
4b6f3cf7676abf689c2d738ad7a61475f64096b9bd3620f7814ab072580d9003 SHA512 
420a943021c7ff3c1d7c9731c031041634473d072178117ec2f666502dff5573870dad23d742ca820667f2b77347a9fdd98e6bccaf8037d2378fd9e08c790c7c
 WHIRLPOOL 
25c4e740611ede51aaeb80743c4940e170f097dec60a04cb80f2b9ad0ec660ffb45ce87bdd41a33f8447d285e3a4c04754b433a806a552d8091baa7b6b7e8b9a
 DIST vivaldi-1.5.655.3_p1-i386.deb 48288882 SHA256 
07e9d5d6be99fcd1168648885ea6c5f2e55f4037de092ae44d8171d9a586a192 SHA512 
86d79b516582f66797c80d998e9de31cded80e0f74cd7d057299bd0f470d98a565d72803d26f293fd1efc899cd28a72fba4035c3449fa6a4844dce7fc9e89737
 WHIRLPOOL 
9ab789124edb9f1dd94f72bd4d55b519005ea954ccfb7d8404ae3ea9dc6cd7dc2731e283b45cc8c6f228eb357d588826de72b31e680711ccfa473272de585132
+DIST vivaldi-1.5.658.21_p1-amd64.deb 48020860 SHA256 
398568f8c86722bd7937e62cd080608ce8f889ffb25ca39655134d756914d204 SHA512 
6c20701c2bdfce7a2116f03db489b67c595b7d860bef39d4726e5895f67f814a1e0735076a83b49f148887bfe9081c3de4bad89960f78cbac243ff3f2bd58640
 WHIRLPOOL 
516e83a09b13bca0e21b7a9204c1446ced7b791fa9bd0956d3ba79d6ee2a43c46849061c25f37a76e4de026730409fef039ecf248286513321d922952584432d
+DIST vivaldi-1.5.658.21_p1-i386.deb 48334722 SHA256 
ca7282b7ce4cd9c630adb6b2db921631fc918de26a101dc5554e02d1f8b97c42 SHA512 
b53d9c55aae5bb08ca1584eb17b6ebe7d9f9ba013270f201409b272a4a1124c5de3d15d5d670f9e8dc2e697ba4ad39e5dce9f8b5e215e0a41c26014066c570a2
 WHIRLPOOL 
ab378d3a08b3676c1bd76fef1a08fd5c5bc7faeb882c87c7e2b058ebe6d11d16f323435ff146b1d440a5c67f3db046f9051ef8f198ecf8312253326e60c32695
 DIST vivaldi-1.5.658.3_p1-amd64.deb 48002766 SHA256 
c653785688ca08a1c1e54e6757eb418e00917676e2496c305beae1158562782d SHA512 
d9d05493d1007ea2cb35e8dcc14a690ac7140c0f3d8cc55c053038dd7788bf94fb143277100c9e9799ac0fdbbd04a9cc379560d3bdcc68554a26ca4beb2a5aab
 WHIRLPOOL 
c5126a0e9c0f7872e04feadebb769832a6c218e310f809a3c6e34dee322fad452e8e13eb1f03eb942083ac948d2ce547b7e0883ea133055a2b2286655eda0b2d
 DIST vivaldi-1.5.658.3_p1-i386.deb 48318494 SHA256 
19d0eb843ab0c3624781b63d21bec634e7e2eaeec3422f7108652a7549b0fc46 SHA512 
ad1348061dd825d5e3e7ec31258b677f3d9701f5988f70578f858354d72fab6f00cde1813839de66dd888600f98cde10f386b7b5dce7280d3e19cf92246aaf47
 WHIRLPOOL 
106bd6027b5b66b8c8fcc49739d5c9f3ebdd487b039cad5c1f3971dc2181df60bae17e2ea52e320164ec09c9a3d3a4e7b74f26c863dc4fa817afe409ad9db66c

diff --git a/www-client/vivaldi/vivaldi-1.5.658.21_p1.ebuild 
b/www-client/vivaldi/vivaldi-1.5.658.21_p1.ebuild
new file mode 100644
index 00000000..19616d9
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.5.658.21_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