summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-12-21 10:05:31 +0100
committerJeroen Roovers <jer@gentoo.org>2016-12-21 10:05:48 +0100
commitd161321166870b3d7c1737a13172ab7cf779401d (patch)
treebf0804aa3c4ed929254b07eb8c30d47270de50c5 /www-client
parentdepend.apache.eclass: Let APXS point to the new location of the binary. (diff)
downloadgentoo-d161321166870b3d7c1737a13172ab7cf779401d.tar.gz
gentoo-d161321166870b3d7c1737a13172ab7cf779401d.tar.bz2
gentoo-d161321166870b3d7c1737a13172ab7cf779401d.zip
www-client/vivaldi: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.6.689.40_p1.ebuild110
2 files changed, 112 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 0f2e60eb8fa1..5c45a2d741a0 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -2,3 +2,5 @@ DIST vivaldi-1.5.658.44_p1-amd64.deb 46838072 SHA256 d43cda11f6d9dffbdf3a0f7d29b
DIST vivaldi-1.5.658.44_p1-i386.deb 47084314 SHA256 480169e43737269215216bfcbb07fce54a7674cd27801eda083967b275ab97b3 SHA512 d9c48c8c944132771f65791c9fc0c741602dd0ccfb0e30d84cdfd5afddb0269f779bdf093faffbc50dbd3dbb0557e1e30ac030b10ecccd6a534b3fcdfddaef6c WHIRLPOOL c823678af01496c426793e940ed7a9958cc7c8ffb1fbb51f3fbb8abf7744e5b4f6c0a3da3d7f26c4ed00fda77756ff4c6103baaa53590e2951d60dba7c36d683
DIST vivaldi-1.6.689.34_p1-amd64.deb 47438240 SHA256 35c322461b893aeb020f0e84400f45cef5be52c6719e74dea8f55e48bf45c972 SHA512 6e9e051925e8c97bf163fad6a47755f0e0e6b44ffd865a2e0ed4c3167f78b369499fc48cc898d85f701ec6d61dbcf3ba4539948bd0846ba6413d3a327a709247 WHIRLPOOL 71361128ed8e182a2e8f1df75f1985ff39913ba62057126a1ecaf83480962fc9dcb3c8860176772e550a3e9bfcc2fb5e7b9c286f362456f39e85f7b4fbf0e255
DIST vivaldi-1.6.689.34_p1-i386.deb 47805064 SHA256 e02b4abd62302812bd233fabe2da30a9605af75e993c14fb0bb64cee565cfe29 SHA512 5b4d908e1e4bcfbf9ca04244733e839b885af0f485452b4d69d65e0ece9c89f64c8d0e11bc7d4f843151bbddbba6fb6bec2e71fcd789c38919125fe79d86cd8e WHIRLPOOL 2a02d0a02bf4f7c47060a806395f576840d13a0481bac6f0d6199aa66831f7d986655af9f5d8464034cf64a054aa542456314185ade0fde7efe6d7ff06713828
+DIST vivaldi-1.6.689.40_p1-amd64.deb 47428698 SHA256 ecc3a499449d6902331b37d676fbbd07fa8702a447c894ff5a5dfc0d4931dada SHA512 312287ee43075bddb97a2f8664dc223886c6c41b3e166fbb005719e04c70400628672af0c215e5f7e656aa32ee66d8831c75fbee6577b37330373a82ab193ba4 WHIRLPOOL a4b00ef8ffb4aa1c7999123d08671ec6e96f84e912c38610ce406ca5c948f8a12ba4378ef902a8476cbfc29cadef81d112546bcbe836ea5d3296209680bf82a0
+DIST vivaldi-1.6.689.40_p1-i386.deb 47749030 SHA256 780b232b12590b1c00f6eec0dfbd6a1ee35787f6545c80bdd780ea6037280356 SHA512 88a925857cdd49d0a4224dc77f59dea23323ab31ba911301a5cd7fee484ba95a59f95048a5e27e50a07e71dd2b06c3993e96a36894273b0ee4674c30da06c4a2 WHIRLPOOL 2162e423fa43946790c797eb5446345396a66def7ddc615b032ea59e29577f981384801f10cdb827d09cb878c7f0a8bb777d521f2b1cfcdec124fda00e896965
diff --git a/www-client/vivaldi/vivaldi-1.6.689.40_p1.ebuild b/www-client/vivaldi/vivaldi-1.6.689.40_p1.ebuild
new file mode 100644
index 000000000000..4d6200433996
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.6.689.40_p1.ebuild
@@ -0,0 +1,110 @@
+# 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} \
+ ${VIVALDI_HOME}/libwidevinecdm.so \
+ || 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
+}