network/vivaldi: Updated for version 2.2.1388.37.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Alexander Verbovetsky 2018-12-29 05:03:27 +07:00 committed by Willy Sudiarto Raharjo
parent 23fc5890e2
commit 5ff4c18778
2 changed files with 17 additions and 6 deletions

View File

@ -25,6 +25,7 @@
PRGNAM=vivaldi
VERSION=${VERSION:-2.2.1388.37}
WIDEVINE_VERSION="4.10.1196.0"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -37,8 +38,8 @@ if [ -z "$ARCH" ]; then
fi
case "$ARCH" in
i?86) BITS="i386" ;;
x86_64) BITS="amd64" ;;
i?86) BITS="i386" ; WIDEVINE_BITS="ia32" ;;
x86_64) BITS="amd64" ; WIDEVINE_BITS="x64" ;;
arm*) BITS="armhf" ;;
*) echo "$ARCH is not supported."
exit 1 ;;
@ -56,6 +57,12 @@ mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
cd $TMP/$PRGNAM
ar p $CWD/${PRGNAM}-stable_${VERSION}-*_${BITS}.deb data.tar.xz | tar xvJ
if [ "x$BITS" = "xarmhf" ] ; then
echo "This script does not support Widevine on ARM."
else
unzip -oq $CWD/${WIDEVINE_VERSION}-linux-${WIDEVINE_BITS}.zip \
libwidevinecdm.so -d opt/vivaldi
fi
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \

View File

@ -1,10 +1,14 @@
PRGNAM="vivaldi"
VERSION="2.2.1388.37"
HOMEPAGE="https://vivaldi.com"
DOWNLOAD="https://downloads.vivaldi.com/stable/vivaldi-stable_2.2.1388.37-1_i386.deb"
MD5SUM="96352dc2e2b19d9badf9f23f8165469d"
DOWNLOAD_x86_64="https://downloads.vivaldi.com/stable/vivaldi-stable_2.2.1388.37-1_amd64.deb"
MD5SUM_x86_64="0700a373336e117508774f7e08922a1b"
DOWNLOAD="https://downloads.vivaldi.com/stable/vivaldi-stable_2.2.1388.37-1_i386.deb \
https://dl.google.com/widevine-cdm/4.10.1196.0-linux-ia32.zip"
MD5SUM="96352dc2e2b19d9badf9f23f8165469d \
d3c080472cee2a74e85d24ba538795d8"
DOWNLOAD_x86_64="https://downloads.vivaldi.com/stable/vivaldi-stable_2.2.1388.37-1_amd64.deb \
https://dl.google.com/widevine-cdm/4.10.1196.0-linux-x64.zip"
MD5SUM_x86_64="0700a373336e117508774f7e08922a1b \
6f36d46184187f0f0ca5d93436dc4436"
REQUIRES=""
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"