aboutsummaryrefslogtreecommitdiff
path: root/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-01-31 00:32:03 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-04 06:59:31 +0700
commitb309a783df0ca12c050ae45802fa38fe7ffdf674 (patch)
tree0936cdf30866de3522dff67dfbf52db9f304d09f /multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild
parentb686cc436f2064657e0a6ae4c0bcc8fe5f26b383 (diff)
multimedia/opera-developer-ffmpeg-codecs: Updated for v 57.0.2970.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild')
-rw-r--r--multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild15
1 files changed, 6 insertions, 9 deletions
diff --git a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild
index 974a7838489fd..7f6d9ff359582 100644
--- a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild
+++ b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for opera-developer-ffmpeg-codecs.
#
-# Copyright 2016 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="opera-developer-ffmpeg-codecs"
-VERSION=${VERSION:-55.0.2883.87}
+VERSION=${VERSION:-57.0.2970.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,15 +59,15 @@ fi
set -e
-SRCNAM="chromium-codecs-ffmpeg-extra"
-SRCVER=${SRCVER:-55.0.2883.87-0ubuntu0.16.04.1263}
+SRCVER=$VERSION-1
rm -rf $PKG $TMP/$PRGNAM
mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
cd $TMP/$PRGNAM
mkdir -p $PRGNAM-${VERSION}
-ar p $CWD/${SRCNAM}_${SRCVER}_${BITS}.deb data.tar.xz | xz -dv | tar -xf- -C $PRGNAM-${VERSION}
+tar xvf $CWD/${PRGNAM}-${SRCVER}-${ARCH}.pkg.tar.xz \
+ --exclude={.PKGINFO,.BUILDINFO,.MTREE} -C $PRGNAM-${VERSION}
cd $PRGNAM-${VERSION}
chown -R root:root .
find -L . \
@@ -80,12 +80,9 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/opera-developer/lib_extra
-mv usr/lib/chromium-browser/libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/opera-developer/lib_extra/
+mv usr/lib/opera-developer/lib_extra/libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/opera-developer/lib_extra/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-gzip -dc usr/share/doc/chromium-codecs-ffmpeg-extra/changelog.Debian.gz > \
-$PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog
-cp -a usr/share/doc/chromium-codecs-ffmpeg-extra/copyright $PKG/usr/doc/$PRGNAM-$VERSION/
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install