summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2011-12-18 13:43:39 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-12-18 13:43:39 -0600
commitf4feb46dfa67ce79f9763327538824076d45f775 (patch)
tree5553dce25c8bdcd663377d34d1d6e843d76b5602
parent9776029978218a4fa98d59bbeedefc6e6eaf15d9 (diff)
downloadslackbuilds-f4feb46dfa67ce79f9763327538824076d45f775.tar.gz
multimedia/x264: Updated for version 20111105.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-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 94af33e766..f56d8bc594 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 4393607f9e..114e2ead8e 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"