multimedia/opera-developer-ffmpeg-codecs: Updated for version 55.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2016-12-30 07:13:30 +07:00 committed by Willy Sudiarto Raharjo
parent 22bcb08671
commit 2d2e0992c2
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 14 additions and 16 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="opera-developer-ffmpeg-codecs" PRGNAM="opera-developer-ffmpeg-codecs"
VERSION=${VERSION:-53.0.2785.143} VERSION=${VERSION:-55.0.2883.87}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -60,18 +60,15 @@ fi
set -e set -e
SRCNAM="chromium-codecs-ffmpeg-extra" 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 rm -rf $PKG $TMP/$PRGNAM
mkdir -p $TMP/$PRGNAM $PKG $OUTPUT mkdir -p $TMP/$PRGNAM $PKG $OUTPUT
cd $TMP/$PRGNAM cd $TMP/$PRGNAM
ar p $CWD/${SRCNAM}_${SRCVER}_${BITS}.deb data.tar.xz | tar xJf - \ mkdir -p $PRGNAM-${VERSION}
./usr/lib/chromium-browser/libs/libffmpeg.so --strip 5 ar p $CWD/${SRCNAM}_${SRCVER}_${BITS}.deb data.tar.xz | xz -dv | tar -xf- -C $PRGNAM-${VERSION}
ar p $CWD/${SRCNAM}_${SRCVER}_${BITS}.deb data.tar.xz | tar xJf - \ cd $PRGNAM-${VERSION}
./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
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -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 | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/opera-developer/lib_extra mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/opera-developer/lib_extra
mv libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/opera-developer/lib_extra/ mv usr/lib/chromium-browser/libffmpeg.so $PKG/usr/lib${LIBDIRSUFFIX}/opera-developer/lib_extra/
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
gzip -dc changelog.Debian.gz > $PKG/usr/doc/$PRGNAM-$VERSION/ChangeLog gzip -dc usr/share/doc/chromium-codecs-ffmpeg-extra/changelog.Debian.gz > \
cp -a copyright $PKG/usr/doc/$PRGNAM-$VERSION/ $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 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install

View file

@ -1,10 +1,10 @@
PRGNAM="opera-developer-ffmpeg-codecs" PRGNAM="opera-developer-ffmpeg-codecs"
VERSION="53.0.2785.143" VERSION="55.0.2883.87"
HOMEPAGE="http://packages.ubuntu.com/search?keywords=chromium-codecs-ffmpeg-extra" 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_53.0.2785.143-0ubuntu0.16.04.1.1254_i386.deb" 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="c5e69375365f6b03aef9d739a29e4308" MD5SUM="d9959b3b9cab6966f33a7c603c7fd09e"
DOWNLOAD_x86_64="http://mirrors.kernel.org/ubuntu/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_53.0.2785.143-0ubuntu0.16.04.1.1254_amd64.deb" 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="799d6cce6f59b7d22af189f8854fab3b" MD5SUM_x86_64="b0707d549f7bb2d10efbeb68ebd6a7f1"
REQUIRES="opera-developer" REQUIRES="opera-developer"
MAINTAINER="Edinaldo P. Silva" MAINTAINER="Edinaldo P. Silva"
EMAIL="edps.mundognu@gmail.com" EMAIL="edps.mundognu@gmail.com"