From 2d2e0992c2ee1937f04d7132ede393200b7e955f Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Fri, 30 Dec 2016 07:13:30 +0700 Subject: multimedia/opera-developer-ffmpeg-codecs: Updated for version 55.0. Signed-off-by: Willy Sudiarto Raharjo --- .../opera-developer-ffmpeg-codecs.SlackBuild | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild') 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 788ea41e58..974a783848 100644 --- a/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild +++ b/multimedia/opera-developer-ffmpeg-codecs/opera-developer-ffmpeg-codecs.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="opera-developer-ffmpeg-codecs" -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/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 -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 -- cgit v1.2.3