multimedia/opera-ffmpeg-codecs: Updated for version 56.0.2924.76.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2017-02-07 23:39:01 +00:00 committed by Willy Sudiarto Raharjo
parent 21a0ccb087
commit 0d85cc7638
4 changed files with 17 additions and 20 deletions

View file

@ -2,7 +2,7 @@ opera-ffmpeg-codecs (Extra ffmpeg codec for Opera browser)
Additional support for proprietary codecs for Opera Stable.
This will add H.264 support to Opera Developer and not replacing the
This will add H.264 support to Opera Developer and not replacing the
default /usr/lib/opera/libffmpeg.so.
For tests, go to:

View file

@ -2,7 +2,7 @@
#
# Slackware build script for opera-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-ffmpeg-codecs"
VERSION=${VERSION:-55.0.2883.87}
VERSION=${VERSION:-56.0.2924.76}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -43,15 +43,15 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
BITS="i386"
BITS="i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
BITS="i386"
BITS="i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
BITS="amd64"
BITS="x86_64"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
@ -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}-${BITS}.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/lib_extra
mv usr/lib/chromium-browser/libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/opera/lib_extra/
mv usr/lib/opera/lib_extra/libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/opera/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

View file

@ -1,10 +1,10 @@
PRGNAM="opera-ffmpeg-codecs"
VERSION="55.0.2883.87"
HOMEPAGE="http://packages.ubuntu.com/search?keywords=chromium-codecs-ffmpeg-extra"
DOWNLOAD="http://mirrors.kernel.org/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_55.0.2883.87-0ubuntu0.16.04.1263_i386.deb"
MD5SUM="d9959b3b9cab6966f33a7c603c7fd09e"
DOWNLOAD_x86_64="http://mirrors.kernel.org/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_55.0.2883.87-0ubuntu0.16.04.1263_amd64.deb"
MD5SUM_x86_64="b0707d549f7bb2d10efbeb68ebd6a7f1"
VERSION="56.0.2924.76"
HOMEPAGE="https://repo.herecura.eu/"
DOWNLOAD="http://repo.herecura.be/herecura/i686/opera-ffmpeg-codecs-56.0.2924.76-1-i686.pkg.tar.xz"
MD5SUM="11f3be56092766f57cf9c033e4f35911"
DOWNLOAD_x86_64="http://repo.herecura.be/herecura/x86_64/opera-ffmpeg-codecs-56.0.2924.76-1-x86_64.pkg.tar.xz"
MD5SUM_x86_64="d38be79d482895a96a2fea1b955aebf7"
REQUIRES="opera"
MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com"

View file

@ -10,7 +10,7 @@ opera-ffmpeg-codecs: opera-ffmpeg-codecs (Extra ffmpeg codec for Opera browser)
opera-ffmpeg-codecs:
opera-ffmpeg-codecs: Additional support for proprietary codecs for Opera Stable.
opera-ffmpeg-codecs:
opera-ffmpeg-codecs: Home Page: http://goo.gl/LMNo2l
opera-ffmpeg-codecs: Home Page: https://repo.herecura.eu/
opera-ffmpeg-codecs:
opera-ffmpeg-codecs:
opera-ffmpeg-codecs: