From 795959f4fec99eae740d95b2a864a9a8df99d9ae Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Sun, 25 Oct 2015 08:31:48 +0700 Subject: network/vivaldi: Updated for version 1.0.303.27_1. Signed-off-by: Willy Sudiarto Raharjo --- network/vivaldi/README | 8 +++++--- network/vivaldi/doinst.sh | 12 ------------ network/vivaldi/vivaldi.SlackBuild | 13 ++++++++++--- network/vivaldi/vivaldi.info | 10 +++++----- 4 files changed, 20 insertions(+), 23 deletions(-) diff --git a/network/vivaldi/README b/network/vivaldi/README index 179d5e7bf4..e32c6bcc38 100644 --- a/network/vivaldi/README +++ b/network/vivaldi/README @@ -1,7 +1,9 @@ vivaldi (web browser). -A Browser for Our Friends. +A Browser for Our Friends. An advanced browser made with the power user in +mind. Finally you can surf your way. -An advanced browser made with the power user in mind. Finally you can surf your way. +To use Flash Player (PepperFlash) or Widevine plugins, Google Chrome from +Slackware 'extra' or AlienBob's Chromium packages needs to be installed. -Optional dependency to playback of proprietary formats: ffmpeg +Optional dependencies: ffmpeg, vivaldi-codecs-ffmpeg-extra diff --git a/network/vivaldi/doinst.sh b/network/vivaldi/doinst.sh index 4129fd499e..9424ce43ff 100644 --- a/network/vivaldi/doinst.sh +++ b/network/vivaldi/doinst.sh @@ -1,14 +1,3 @@ -set -e - -# create links. -ln -sf /opt/vivaldi-snapshot/vivaldi-snapshot /usr/bin/vivaldi-snapshot -ln -sf /opt/vivaldi-snapshot/vivaldi-snapshot /opt/vivaldi-snapshot/vivaldi - -# define owner and permission. -chown root:root /opt/vivaldi-snapshot/vivaldi-sandbox -chmod 4755 /opt/vivaldi-snapshot/vivaldi-sandbox - -# begin SlackBuilds options. if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi @@ -22,4 +11,3 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 fi fi -# end SlackBuilds options. diff --git a/network/vivaldi/vivaldi.SlackBuild b/network/vivaldi/vivaldi.SlackBuild index 525a76067c..d659a64949 100644 --- a/network/vivaldi/vivaldi.SlackBuild +++ b/network/vivaldi/vivaldi.SlackBuild @@ -23,9 +23,9 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="vivaldi" +VERSION=${VERSION:-1.0.303.27} SRCNAM="vivaldi-snapshot" -VERSION=${VERSION:-1.0.300.5} -SRCVER=${SRCVER:-1.0.300.5-1} +SRCVER=${SRCVER:-1.0.303.27-1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -79,7 +79,14 @@ mv opt usr $PKG/ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# install icons. +( +ln -sf /opt/vivaldi-snapshot/vivaldi-snapshot $PKG/usr/bin/vivaldi-snapshot +ln -sf /opt/vivaldi-snapshot/vivaldi-snapshot $PKG/opt/vivaldi-snapshot/vivaldi +) + +chown root:root $PKG/opt/vivaldi-snapshot/vivaldi-sandbox +chmod 4755 $PKG/opt/vivaldi-snapshot/vivaldi-sandbox + for res in 16 22 24 32 48 64 128 256; do install -Dm644 "$PKG/opt/vivaldi-snapshot/product_logo_${res}.png" \ "$PKG/usr/share/icons/hicolor/${res}x${res}/apps/vivaldi-snapshot.png" diff --git a/network/vivaldi/vivaldi.info b/network/vivaldi/vivaldi.info index 884c7e9eed..66014aeb3c 100644 --- a/network/vivaldi/vivaldi.info +++ b/network/vivaldi/vivaldi.info @@ -1,10 +1,10 @@ PRGNAM="vivaldi" -VERSION="1.0.300.5_1" +VERSION="1.0.303.27_1" HOMEPAGE="https://vivaldi.com/" -DOWNLOAD="http://repo.vivaldi.com/archive/deb/pool/main/vivaldi-snapshot_1.0.300.5-1_i386.deb" -MD5SUM="ef0c252a072d10e8dd7496e4084c09ab" -DOWNLOAD_x86_64="http://repo.vivaldi.com/archive/deb/pool/main/vivaldi-snapshot_1.0.300.5-1_amd64.deb" -MD5SUM_x86_64="35cda9ad286c1c2784e97944ecbbd2bc" +DOWNLOAD="http://repo.vivaldi.com/archive/deb/pool/main/vivaldi-snapshot_1.0.303.27-1_i386.deb" +MD5SUM="17f266221e3be894ae926a2cfc16416e" +DOWNLOAD_x86_64="http://repo.vivaldi.com/archive/deb/pool/main/vivaldi-snapshot_1.0.303.27-1_amd64.deb" +MD5SUM_x86_64="c4c7f88d5aa951729b63469d0ae86edb" REQUIRES="" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" -- cgit v1.2.3