summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-11-21 19:42:41 +0100
committerJeroen Roovers <jer@gentoo.org>2016-11-21 20:09:58 +0100
commit2268e9843d1229801750b6d4dde0c04437b64473 (patch)
tree77b3c65dfc15eb57d8d8e8bfbbe5f011e9a6872e /www-client
parentmedia-tv/kodi-16.1: Fix USE=-java (diff)
downloadgentoo-2268e9843d1229801750b6d4dde0c04437b64473.tar.gz
gentoo-2268e9843d1229801750b6d4dde0c04437b64473.tar.bz2
gentoo-2268e9843d1229801750b6d4dde0c04437b64473.zip
www-client/vivaldi: Version bump.
Package-Manager: portage-2.3.2
Diffstat (limited to 'www-client')
-rw-r--r--www-client/vivaldi/Manifest2
-rw-r--r--www-client/vivaldi/vivaldi-1.5.658.42_p1.ebuild109
2 files changed, 111 insertions, 0 deletions
diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest
index 53683269beec..68a3d33bc780 100644
--- a/www-client/vivaldi/Manifest
+++ b/www-client/vivaldi/Manifest
@@ -4,3 +4,5 @@ DIST vivaldi-1.5.658.27_p1-amd64.deb 48048014 SHA256 c4259fc3ab45a2809cda9a14eda
DIST vivaldi-1.5.658.27_p1-i386.deb 48325988 SHA256 78867c5e9122b21c8b54477c26acf4f58b24a7b4c183838e955043c511314017 SHA512 c2e28df627d067052986f2c56885511b692f80e24aa8dbd506ad15f82da9538eb319caabd1a355e41e1d6c7feaa2ab5941e99e56afa8010bc7de0f54eeb6963f WHIRLPOOL ff307b79db8090388a5a7e47720a1e8df22eab760ca594bb9f96d818092bb2f414369da96648122baf03159cd1dc419b0989b869162688ab20a63216783cda6a
DIST vivaldi-1.5.658.31_p1-amd64.deb 48061342 SHA256 319ec7d0fc9adc12e365ff87e77210eda54e1678e42491811c1e3376d995d188 SHA512 e6a9518e3028fad7e4bc9d23e085e5e61721baf015cd1190f71abf62cf6c92b4b345206b5af996329121b262ac27001b8c1dc7bd7440881b22632227746bb084 WHIRLPOOL e0482b69c97028f51ceca104eafefe97315f90564692de8850ce8bcb9efaede47aa59432ae711a7e95003a56d351ec3165bea662ba2a2065f33c356bbb510e4d
DIST vivaldi-1.5.658.31_p1-i386.deb 48332812 SHA256 d7fa21b624310fad30503865d355f76d6a8f4bd1d2eb06d288d2f74be04655e6 SHA512 074c5f817d663aeaa1f9ca69fece2eee18f57f6bbe2f2b0f8a975dddc7e25d6affa282a6f1a6e36d107d67dbfac7ee44d5006364d0128bbf40bc2872e25fb7ce WHIRLPOOL 9e4d81ea7dfd6df0c39b14e8c097def292006a78f2ae5106bb1595d707614fa5e109f6754a7854cb2123c9640280f5d4fb3f95dfb89ebbc649ad104df7c5bca8
+DIST vivaldi-1.5.658.42_p1-amd64.deb 48061728 SHA256 03e0a348c0fdaa3fd649ab4b3c01a5460dbd471ddedca4ec77ccb09255041396 SHA512 f3097c432bae65e89b02c6afbfb4e11c203f1c62b2ed28e68728545ee18d84067121fdd7faa140eac66d093381c42df1a155baa3ff3cf6c647d17ccbfa7db64e WHIRLPOOL b012ecfb6359e5a4598e623cb8421a98c251089c59456e9bcb1a2d1cbf37c6a9206d9922b005764a5f21fa4debbff83bd731e66e5861b230a51d686f99ead14d
+DIST vivaldi-1.5.658.42_p1-i386.deb 48334880 SHA256 5d2a1332966cea2521021f611b0a4a3abc652798fdee5cf6ea348d273ba0ee50 SHA512 c12953948ab8db31cf19ec3d8dde68daeb4afefd8d3de8cbb44ada5b825ac4f82a9d98ef52c6ce4b8f386b7b2a027a3a9461a201510ff9c266897e38487dc223 WHIRLPOOL ae8c39551fee35acbc01e35e2b3cf7c85d14bbd1b038d443bf0aa5721d0ad758a7109fd2610e7bfeaac14db580d8cb117739b7d25617cc1f192423b7998a6322
diff --git a/www-client/vivaldi/vivaldi-1.5.658.42_p1.ebuild b/www-client/vivaldi/vivaldi-1.5.658.42_p1.ebuild
new file mode 100644
index 000000000000..19616d9ec421
--- /dev/null
+++ b/www-client/vivaldi/vivaldi-1.5.658.42_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
+}