mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
multimedia/x264: Updated for version 20111105.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
9776029978
commit
f4feb46dfa
2 changed files with 10 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue