mirror of
https://github.com/Ponce/slackbuilds
synced 2024-09-29 17:37:55 +02:00
multimedia/x264: Updated for version 20090310
This commit is contained in:
parent
1caecd0cbc
commit
d68b77df73
2 changed files with 14 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue