aboutsummaryrefslogtreecommitdiff
path: root/multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.SlackBuild
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2016-12-30 07:15:28 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-31 08:22:16 +0700
commit2966ffd6f17d15c9ee6cecb7ee51dadd2507b5ab (patch)
treeec2080ab7d669f5c3b460d94510d41894f130203 /multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.SlackBuild
parent74bda6c6fe91998a7710cd5933a3b3aedd51567c (diff)
multimedia/vivaldi-codecs-ffmpeg-extra: Updated for version 55.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.SlackBuild')
-rw-r--r--multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.SlackBuild20
1 files changed, 9 insertions, 11 deletions
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 7500edf7c3f4d..1711923b6ec4e 100644
--- a/multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.SlackBuild
+++ b/multimedia/vivaldi-codecs-ffmpeg-extra/vivaldi-codecs-ffmpeg-extra.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="vivaldi-codecs-ffmpeg-extra"
-VERSION=${VERSION:-53.0.2785.143}
+VERSION=${VERSION:-55.0.2883.87}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,18 +60,15 @@ fi
set -e
SRCNAM="chromium-codecs-ffmpeg-extra"
-SRCVER=${SRCVER:-53.0.2785.143-0ubuntu0.16.04.1.1254}
+SRCVER=${SRCVER:-55.0.2883.87-0ubuntu0.16.04.1263}
rm -rf $PKG $TMP/$PRGNAM
mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
cd $TMP/$PRGNAM
-ar p $CWD/${SRCNAM}_${SRCVER}_${BITS}.deb data.tar.xz | tar xJf - \
-./usr/lib/chromium-browser/libs/libffmpeg.so --strip 5
-ar p $CWD/${SRCNAM}_${SRCVER}_${BITS}.deb data.tar.xz | tar xJf - \
-./usr/share/doc/chromium-codecs-ffmpeg-extra/changelog.Debian.gz --strip 5
-ar p $CWD/${SRCNAM}_${SRCVER}_${BITS}.deb data.tar.xz | tar xJf - \
-./usr/share/doc/chromium-codecs-ffmpeg-extra/copyright --strip 5
+mkdir -p $PRGNAM-${VERSION}
+ar p $CWD/${SRCNAM}_${SRCVER}_${BITS}.deb data.tar.xz | xz -dv | tar -xf- -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 \
@@ -83,11 +80,12 @@ 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/opt/vivaldi/
-mv libffmpeg.so $PKG/opt/vivaldi/
+mv usr/lib/chromium-browser/libffmpeg.so $PKG/opt/vivaldi/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-gzip -dc changelog.Debian.gz > $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog
-cp -a copyright $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