summaryrefslogtreecommitdiff
path: root/x264/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2007-08-16 10:49:59 +1000
committerDanny Rawlins <romster@shortcircuit.net.au>2007-08-17 05:47:54 +1000
commit5390040c4662f103e93a9c4e30db44f2c92365da (patch)
tree6384ec468f245beb0b79c2931981da1ef478f794 /x264/Pkgfile
parentd6e991ddda3c07326a7322bb32f02bf60e6d4b9f (diff)
downloadcontrib-5390040c4662f103e93a9c4e30db44f2c92365da.tar.gz
contrib-5390040c4662f103e93a9c4e30db44f2c92365da.tar.xz
x264: r654 -> r667
Diffstat (limited to 'x264/Pkgfile')
-rw-r--r--x264/Pkgfile7
1 files changed, 5 insertions, 2 deletions
diff --git a/x264/Pkgfile b/x264/Pkgfile
index f250ba9ce..279c6ed91 100644
--- a/x264/Pkgfile
+++ b/x264/Pkgfile
@@ -5,15 +5,18 @@
# Depends on:
name=x264
-version=r654
+version=r667
release=1
source=(http://romster.shortcircuit.net.au/crux/source/x264-snapshot-$version.tar.bz2)
build() {
cd x264
- sed -i -e 's|^ CFLAGS="-O4 -ffast-math $CFLAGS"$| CFLAGS="$CFLAGS -O3 -ffast-math"|' configure
+
+ sed -i -e '/^ CFLAGS="/s/-O4 -ffast-math $CFLAGS/${CFLAGS\/-O?\/-O3} -ffast-math/' configure
+
./configure \
--prefix=/usr \
+ --enable-pic \
--enable-pthread \
--enable-shared

Generated by cgit