summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorAlexander Verbovetsky <alik@ejik.org>2017-08-10 07:47:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-08-12 06:58:31 +0700
commit5b88162410daf68f7eba3306c1e88a191225cb88 (patch)
treef2fe9bfe427b4e47e992edd3d41ae4dead2c55d6 /multimedia
parentb578aaee594561dc1c13f22223e8a0a2fd0a66d9 (diff)
downloadslackbuilds-5b88162410daf68f7eba3306c1e88a191225cb88.tar.gz
multimedia/vivaldi-codecs-ffmpeg-extra: Updated for version 60.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/vivaldi-codecs-ffmpeg-extra/README4
-rw-r--r--multimedia/vivaldi-codecs-ffmpeg-extra/slack-desc2
-rw-r--r--multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.SlackBuild55
-rw-r--r--multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.info18
4 files changed, 26 insertions, 53 deletions
diff --git a/multimedia/vivaldi-codecs-ffmpeg-extra/README b/multimedia/vivaldi-codecs-ffmpeg-extra/README
index 62f2c3d697..77ebed6261 100644
--- a/multimedia/vivaldi-codecs-ffmpeg-extra/README
+++ b/multimedia/vivaldi-codecs-ffmpeg-extra/README
@@ -10,7 +10,3 @@ For tests, go to:
* https://html5test.com
* https://www.youtube.com/html5
* http://www.quirksmode.org/html5/tests/video.html
-
-More info at: https://gist.github.com/ruario/bec42d156d30affef655
-
-* Since version 1.10.838.7 Vivaldi's Team drops 32 bits support.
diff --git a/multimedia/vivaldi-codecs-ffmpeg-extra/slack-desc b/multimedia/vivaldi-codecs-ffmpeg-extra/slack-desc
index 61f55fff96..ff35ae6f0a 100644
--- a/multimedia/vivaldi-codecs-ffmpeg-extra/slack-desc
+++ b/multimedia/vivaldi-codecs-ffmpeg-extra/slack-desc
@@ -10,7 +10,7 @@ vivaldi-codecs-ffmpeg-extra: vivaldi-codecs-ffmpeg-extra (Extra ffmpeg codec for
vivaldi-codecs-ffmpeg-extra:
vivaldi-codecs-ffmpeg-extra: Extra ffmpeg codec for Vivaldi browser.
vivaldi-codecs-ffmpeg-extra:
-vivaldi-codecs-ffmpeg-extra: Home Page: https://repo.herecura.eu/
+vivaldi-codecs-ffmpeg-extra: Home Page: https://gist.github.com/ruario/bec42d156d30affef655
vivaldi-codecs-ffmpeg-extra:
vivaldi-codecs-ffmpeg-extra:
vivaldi-codecs-ffmpeg-extra:
diff --git a/multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.SlackBuild b/multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.SlackBuild
index 3c77247011..37fda0f205 100644
--- a/multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.SlackBuild
+++ b/multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for vivaldi-codecs-ffmpeg-extra.
#
# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2017, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="vivaldi-codecs-ffmpeg-extra"
-VERSION=${VERSION:-59.0.3071.104}
+VERSION=${VERSION:-60.0.3112.78}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,58 +36,34 @@ if [ -z "$ARCH" ]; then
esac
fi
+case "$ARCH" in
+ i?86) BITS="i386" ;;
+ x86_64) BITS="amd64" ;;
+ *) echo "$ARCH is not supported."
+ exit 1 ;;
+esac
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i586" ]; then
- SLKCFLAGS="-O2 -march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
- BITS="i686"
- echo "This package is currently only available for 64bit."
- exit 1
-elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
- BITS="i686"
- echo "This package is currently only available for 64bit."
- exit 1
-elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
- LIBDIRSUFFIX="64"
- BITS="x86_64"
-else
- echo "Package for $(uname -m) architecture is not available."
- exit 1
-fi
-
-SRCNAM="vivaldi-ffmpeg-codecs"
-SRCVER=$VERSION-1
-
set -e
rm -rf $PKG $TMP/$PRGNAM
mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
cd $TMP/$PRGNAM
-mkdir -p $PRGNAM-${VERSION}
-tar xvf $CWD/${SRCNAM}-${SRCVER}-${BITS}.pkg.tar.xz \
- --warning=no-unknown-keyword \
- --exclude={.PKGINFO,.BUILDINFO,.MTREE} -C $PRGNAM-${VERSION}
-cd $PRGNAM-${VERSION}
-chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+mkdir -p $PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+
+ar p $CWD/chromium-codecs-ffmpeg-extra_${VERSION}-*_${BITS}.deb data.tar.xz \
+ | tar xJf - ./usr/lib/chromium-browser/libffmpeg.so --strip 4
-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
+strip --strip-unneeded libffmpeg.so 2> /dev/null
mkdir -p $PKG/opt/vivaldi/
-mv opt/vivaldi/libffmpeg.so $PKG/opt/vivaldi/
+install -m 0644 -o root -g root libffmpeg.so $PKG/opt/vivaldi/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.info b/multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.info
index 4bbc6e5372..9a32497428 100644
--- a/multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.info
+++ b/multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.info
@@ -1,10 +1,10 @@
PRGNAM="vivaldi-codecs-ffmpeg-extra"
-VERSION="59.0.3071.104"
-HOMEPAGE="https://repo.herecura.eu/"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
-DOWNLOAD_x86_64="https://repo.herecura.be/herecura/x86_64/vivaldi-ffmpeg-codecs-59.0.3071.104-1-x86_64.pkg.tar.xz"
-MD5SUM_x86_64="297fe89765eed60cd3ac50c06635c48c"
-REQUIRES="vivaldi"
-MAINTAINER="Edinaldo P. Silva"
-EMAIL="edps.mundognu@gmail.com"
+VERSION="60.0.3112.78"
+HOMEPAGE="https://gist.github.com/ruario/bec42d156d30affef655"
+DOWNLOAD="http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_60.0.3112.78-0ubuntu0.16.04.1293_i386.deb"
+MD5SUM="cc7632384a9b8a8660fed43ac1846436"
+DOWNLOAD_x86_64="http://archive.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_60.0.3112.78-0ubuntu0.16.04.1293_amd64.deb"
+MD5SUM_x86_64="418445ed07e72eb844717c302d3896b7"
+REQUIRES=""
+MAINTAINER="Alexander Verbovetsky"
+EMAIL="alik@ejik.org"