aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/x264/x264.SlackBuild16
-rw-r--r--multimedia/x264/x264.info8
2 files changed, 14 insertions, 10 deletions
diff --git a/multimedia/x264/x264.SlackBuild b/multimedia/x264/x264.SlackBuild
index bb5d3dfbf6c43..3f876e5bf256c 100644
--- a/multimedia/x264/x264.SlackBuild
+++ b/multimedia/x264/x264.SlackBuild
@@ -5,10 +5,8 @@
# Written by core (eroc@linuxmail.org)
# Modified by Heinz Wiesinger <pprkut@liwjatan.at>
-set -e
-
PRGNAM=x264
-VERSION=20081104
+VERSION=20090310
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -26,11 +24,13 @@ elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-*-$VERSION-*.tar.bz2
+tar xvf $CWD/$PRGNAM-*-$VERSION-*.tar.bz2
mv $PRGNAM-*-$VERSION-*/ $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
@@ -47,8 +47,12 @@ CXXFLAGS="$SLKCFLAGS" \
make
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
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
+)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/multimedia/x264/x264.info b/multimedia/x264/x264.info
index 8e76c75c77f3b..d4f582f8d4e45 100644
--- a/multimedia/x264/x264.info
+++ b/multimedia/x264/x264.info
@@ -1,8 +1,8 @@
PRGNAM="x264"
-VERSION="20081104"
+VERSION="20090310"
HOMEPAGE="http://www.videolan.org/developers/x264.html"
-DOWNLOAD="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20081104-2245.tar.bz2"
-MD5SUM="23782a44487998a3a8dd46fcf69ff39e"
+DOWNLOAD="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20090310-2245.tar.bz2"
+MD5SUM="3257791376030331bb14db22d6c16b7f"
MAINTAINER="ppr:kut"
EMAIL="pprkut@liwjatan.at"
-APPROVED="dsomero"
+APPROVED="rworkman"