diff options
Diffstat (limited to 'multimedia/ffmpeg/ffmpeg.SlackBuild')
-rw-r--r-- | multimedia/ffmpeg/ffmpeg.SlackBuild | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/multimedia/ffmpeg/ffmpeg.SlackBuild b/multimedia/ffmpeg/ffmpeg.SlackBuild index fd6d2a64a6..8164687adb 100644 --- a/multimedia/ffmpeg/ffmpeg.SlackBuild +++ b/multimedia/ffmpeg/ffmpeg.SlackBuild @@ -7,7 +7,7 @@ # Modified by Heinz Wiesinger <pprkut@liwjatan.org> PRGNAM=ffmpeg -VERSION=${VERSION:-0.6} +VERSION=${VERSION:-0.6.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,6 +38,11 @@ else LIBDIRSUFFIX="" fi +# --enable-runtime-cpu is meant for libswscale only and +# has no influence on the other parts of ffmpeg so there's +# not really a point in bothering +PKGARCH=custom + # Configure ffmpeg features not autodetected by default # Unfortunately ffmpeg's configure doesn't support --enable-feature=yes # syntax, so we have to do it the complicated way :/ @@ -128,14 +133,6 @@ else libxvid="--enable-libxvid" fi -if [ "${RUNTIME:-yes}" = "yes" ]; then - doruntime="--enable-runtime-cpudetect" - PKGARCH=$ARCH -else - doruntime="" - PKGARCH="custom" -fi - set -e rm -rf $PKG @@ -182,8 +179,7 @@ CXXFLAGS="$SLKCFLAGS" \ $libgsm \ $libvpx \ $librtmp \ - $opencore_amr \ - $doruntime + $opencore_amr make make install DESTDIR=$PKG @@ -191,10 +187,7 @@ make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a Changelog* COPYING* CREDITS* INSTALL* MAINTAINERS* \ |