summaryrefslogtreecommitdiff
path: root/multimedia/opera-ffmpeg-codecs
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2017-02-07 23:39:01 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-11 07:24:29 +0700
commit0d85cc7638f0a610910678acaf09f4b76260dd7b (patch)
tree2e023af265f3b47dd87c7201e4fe1634649ba9a4 /multimedia/opera-ffmpeg-codecs
parent21a0ccb08700e527d7f80ef2f1b883777451253b (diff)
downloadslackbuilds-0d85cc7638f0a610910678acaf09f4b76260dd7b.tar.gz
multimedia/opera-ffmpeg-codecs: Updated for version 56.0.2924.76.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia/opera-ffmpeg-codecs')
-rw-r--r--multimedia/opera-ffmpeg-codecs/README2
-rw-r--r--multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild21
-rw-r--r--multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.info12
-rw-r--r--multimedia/opera-ffmpeg-codecs/slack-desc2
4 files changed, 17 insertions, 20 deletions
diff --git a/multimedia/opera-ffmpeg-codecs/README b/multimedia/opera-ffmpeg-codecs/README
index f5f5ade1b4..9f8d06172e 100644
--- a/multimedia/opera-ffmpeg-codecs/README
+++ b/multimedia/opera-ffmpeg-codecs/README
@@ -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:
diff --git a/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild
index fdf9416697..da1699e21b 100644
--- a/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild
+++ b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.SlackBuild
@@ -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
diff --git a/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.info b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.info
index 02635a342c..833ca28e4a 100644
--- a/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.info
+++ b/multimedia/opera-ffmpeg-codecs/opera-ffmpeg-codecs.info
@@ -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"
diff --git a/multimedia/opera-ffmpeg-codecs/slack-desc b/multimedia/opera-ffmpeg-codecs/slack-desc
index 41889dfa40..4d0a322504 100644
--- a/multimedia/opera-ffmpeg-codecs/slack-desc
+++ b/multimedia/opera-ffmpeg-codecs/slack-desc
@@ -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: