aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/x264/x264.SlackBuild15
-rw-r--r--multimedia/x264/x264.info8
2 files changed, 10 insertions, 13 deletions
diff --git a/multimedia/x264/x264.SlackBuild b/multimedia/x264/x264.SlackBuild
index 94af33e766791..f56d8bc594e4c 100644
--- a/multimedia/x264/x264.SlackBuild
+++ b/multimedia/x264/x264.SlackBuild
@@ -6,7 +6,7 @@
# Modified by Heinz Wiesinger <pprkut@liwjatan.at>
PRGNAM=x264
-VERSION=20101023
+VERSION=20111105
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,10 +42,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-*-$VERSION-*.tar.bz2
-mv $PRGNAM-*-$VERSION-*/ $PRGNAM-$VERSION
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-snapshot-$VERSION-2245-stable
+tar xvf $CWD/$PRGNAM-snapshot-$VERSION-2245-stable.tar.bz2
+cd $PRGNAM-snapshot-$VERSION-2245-stable
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -56,14 +55,12 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-visualize \
--enable-shared \
- --enable-pic
+ --enable-pic \
+ --enable-strip
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
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/multimedia/x264/x264.info b/multimedia/x264/x264.info
index 4393607f9e177..114e2ead8ea29 100644
--- a/multimedia/x264/x264.info
+++ b/multimedia/x264/x264.info
@@ -1,10 +1,10 @@
PRGNAM="x264"
-VERSION="20101023"
+VERSION="20111105"
HOMEPAGE="http://www.videolan.org/developers/x264.html"
-DOWNLOAD="http://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20101023-2245.tar.bz2"
-MD5SUM="b18d077ff1b94ee53860649455a0e866"
+DOWNLOAD="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20111105-2245-stable.tar.bz2"
+MD5SUM="d474550ec1174f64b548e000db412ad8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
-APPROVED="Michiel van Wessem"
+APPROVED="rworkman"