mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
multimedia/x264: Updated for version 20090310
This commit is contained in:
parent
9fedb97894
commit
d8eff7835c
3 changed files with 8 additions and 4 deletions
|
@ -1,9 +1,7 @@
|
|||
x264 - A free h264/avc encoder.
|
||||
|
||||
x264 is a free library for encoding H264/AVC video streams.
|
||||
The code is written from scratch by Laurent Aimar, Loren Merritt,
|
||||
Eric Petit (OS X), Min Chen (vfw/asm), Justin Clay (vfw), Måns
|
||||
Rullgård, Radek Czyz, Christian Heine (asm), Alex Izvorski, and
|
||||
Alex Wright. It is released under the terms of the GPL license.
|
||||
|
||||
Requires yasm available from SlackBuilds.org.
|
||||
This requires yasm.
|
||||
|
|
|
@ -18,10 +18,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -40,6 +43,7 @@ CFLAGS="$SLKCFLAGS" \
|
|||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--enable-pthread \
|
||||
--enable-visualize \
|
||||
--enable-shared
|
||||
|
@ -62,4 +66,4 @@ mkdir -p $PKG/install
|
|||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||
/sbin/makepkg -l y -c n -p $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="x264"
|
|||
VERSION="20090310"
|
||||
HOMEPAGE="http://www.videolan.org/developers/x264.html"
|
||||
DOWNLOAD="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20090310-2245.tar.bz2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="3257791376030331bb14db22d6c16b7f"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="ppr:kut"
|
||||
EMAIL="pprkut@liwjatan.at"
|
||||
APPROVED="rworkman"
|
||||
|
|
Loading…
Reference in a new issue