summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRuari Oedegaard <sbo@ruari.com>2020-01-18 07:26:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-18 07:26:33 +0700
commit9e41b2ee42962e7e7eb567f5b622c8e5983d4308 (patch)
tree9ac30b33e71fa2aa7e418f7a8b98ea2b72cef356 /network
parent9f90920b54438c1aaa13a82eeb64718074fde21c (diff)
downloadslackbuilds-9e41b2ee42962e7e7eb567f5b622c8e5983d4308.tar.gz
network/vivaldi: Updated for version 2.10.1745.27.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/vivaldi/vivaldi.SlackBuild32
-rw-r--r--network/vivaldi/vivaldi.info26
2 files changed, 28 insertions, 30 deletions
diff --git a/network/vivaldi/vivaldi.SlackBuild b/network/vivaldi/vivaldi.SlackBuild
index 6670340490..8931c0d5dd 100644
--- a/network/vivaldi/vivaldi.SlackBuild
+++ b/network/vivaldi/vivaldi.SlackBuild
@@ -25,9 +25,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=vivaldi
-VERSION=${VERSION:-2.10.1745.23}
-FFMPEG_VERSION="78.0.3904.70"
-WIDEVINE_VERSION="4.10.1440.18"
+VERSION=${VERSION:-2.10.1745.27}
+FFMPEG_VERSION="79.0.3945.79"
+WIDEVINE_VERSION="4.10.1582.2"
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,21 +56,21 @@ set -e
rm -rf $PKG $TMP/$PRGNAM
mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
-
cd $TMP/$PRGNAM
-ar p $CWD/${PRGNAM}-stable_${VERSION}-*_${BITS}.deb data.tar.xz | tar xvJ
+ar p $CWD/${PRGNAM}-stable_${VERSION}-*_${BITS}.deb data.tar.xz | tar xvJ ./opt ./usr
+ar p $CWD/chromium-codecs-ffmpeg-extra_${FFMPEG_VERSION}-*_${BITS}.deb \
+ data.tar.xz | tar xOJ ./usr/lib/chromium-browser/libffmpeg.so \
+ > opt/vivaldi/libffmpeg.so.${VERSION%\.*\.*}
+
if [ "x$BITS" = "xarmhf" ] ; then
- echo "This script doesn't support installing proprietary media codecs on ARM."
+ echo "This script doesn't support installing Widevine on ARM."
else
- mkdir -p var/opt/vivaldi/WidevineCdm/_platform_specific/linux_${PBITS}
- mkdir -p var/opt/vivaldi/media-codecs-${FFMPEG_VERSION}
- ar p $CWD/chromium-codecs-ffmpeg-extra_${FFMPEG_VERSION}-*_${BITS}.deb \
- data.tar.xz | tar xJf - ./usr/lib/chromium-browser/libffmpeg.so --strip 4
- mv libffmpeg.so var/opt/vivaldi/media-codecs-${FFMPEG_VERSION}
+ rm -f opt/vivaldi/WidevineCdm
+ mkdir -p opt/vivaldi/WidevineCdm/_platform_specific/linux_${PBITS}
unzip -oq $CWD/${WIDEVINE_VERSION}-linux-${WBITS}.zip \
- -d var/opt/vivaldi/WidevineCdm
- mv var/opt/vivaldi/WidevineCdm/libwidevinecdm.so \
- var/opt/vivaldi/WidevineCdm/_platform_specific/linux_${PBITS}
+ -d opt/vivaldi/WidevineCdm
+ mv opt/vivaldi/WidevineCdm/libwidevinecdm.so \
+ opt/vivaldi/WidevineCdm/_platform_specific/linux_${PBITS}
fi
chown -R root:root .
@@ -81,14 +81,12 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
rm -r opt/vivaldi/cron
-rm -f opt/vivaldi/WidevineCdm
-mv opt usr var $PKG/
+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
ln -sf /opt/vivaldi/vivaldi $PKG/usr/bin/vivaldi
-ln -fs /var/opt/vivaldi/WidevineCdm $PKG/opt/vivaldi/WidevineCdm
for res in 16 22 24 32 48 64 128 256; do
install -Dm644 "$PKG/opt/vivaldi/product_logo_${res}.png" \
diff --git a/network/vivaldi/vivaldi.info b/network/vivaldi/vivaldi.info
index 348c6a34cb..4c93f2b987 100644
--- a/network/vivaldi/vivaldi.info
+++ b/network/vivaldi/vivaldi.info
@@ -1,18 +1,18 @@
PRGNAM="vivaldi"
-VERSION="2.10.1745.23"
+VERSION="2.10.1745.27"
HOMEPAGE="https://vivaldi.com"
-DOWNLOAD="https://downloads.vivaldi.com/stable/vivaldi-stable_2.10.1745.23-1_i386.deb \
- https://launchpadlibrarian.net/449418163/chromium-codecs-ffmpeg-extra_78.0.3904.70-0ubuntu0.16.04.2_i386.deb \
- https://dl.google.com/widevine-cdm/4.10.1440.18-linux-ia32.zip"
-MD5SUM="97dce571dc17ba0e5047c260755134a4 \
- 9dd2ba0d979042d75987f881842c0351 \
- c151f6314712678ac81b6298bc36c997"
-DOWNLOAD_x86_64="https://downloads.vivaldi.com/stable/vivaldi-stable_2.10.1745.23-1_amd64.deb \
- https://launchpadlibrarian.net/449403909/chromium-codecs-ffmpeg-extra_78.0.3904.70-0ubuntu0.16.04.2_amd64.deb \
- https://dl.google.com/widevine-cdm/4.10.1440.18-linux-x64.zip"
-MD5SUM_x86_64="0b57dc8a25311dd2c30eea505dc0a992 \
- 05224151a111339651b3d19999b65a51 \
- fc6cf66cdff7c57d367b317505f086d1"
+DOWNLOAD="https://downloads.vivaldi.com/stable/vivaldi-stable_2.10.1745.27-1_i386.deb \
+ https://launchpadlibrarian.net/455294757/chromium-codecs-ffmpeg-extra_79.0.3945.79-0ubuntu0.16.04.1_i386.deb \
+ https://dl.google.com/widevine-cdm/4.10.1582.2-linux-ia32.zip"
+MD5SUM="d42c9b8280e54fe09c07d8747a488288 \
+ 7e9e4912aad135c61cd786bcf2578a33 \
+ 247a331a4d5bceb9f20366a39136a4fa"
+DOWNLOAD_x86_64="https://downloads.vivaldi.com/stable/vivaldi-stable_2.10.1745.27-1_amd64.deb \
+ https://launchpadlibrarian.net/455279910/chromium-codecs-ffmpeg-extra_79.0.3945.79-0ubuntu0.16.04.1_amd64.deb \
+ https://dl.google.com/widevine-cdm/4.10.1582.2-linux-x64.zip"
+MD5SUM_x86_64="ca78e65ea5af1c6848965cd57715ad03 \
+ db8a014c23a1ba67934c40703f2dc2db \
+ 8134e03da1af89cb70caa4c587d7269e"
REQUIRES=""
MAINTAINER="Ruari Oedegaard"
EMAIL="sbo@ruari.com"