summaryrefslogtreecommitdiff
path: root/x264/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2008-01-29 15:13:05 +1100
committerDanny Rawlins <romster@shortcircuit.net.au>2008-01-29 15:13:05 +1100
commit96dc8ec52ed07ef79a3537f9f3cec63a2a2ccf32 (patch)
tree20e0b48b1c8f69fee47803599fc7c790ccab7c65 /x264/Pkgfile
parentef30800e761a0b7787d7ebdb9835c4a9ca7f8083 (diff)
downloadcontrib-96dc8ec52ed07ef79a3537f9f3cec63a2a2ccf32.tar.gz
contrib-96dc8ec52ed07ef79a3537f9f3cec63a2a2ccf32.tar.xz
x264: r717 -> r736
Diffstat (limited to 'x264/Pkgfile')
-rw-r--r--x264/Pkgfile9
1 files changed, 6 insertions, 3 deletions
diff --git a/x264/Pkgfile b/x264/Pkgfile
index 71eb98441..2adc993b4 100644
--- a/x264/Pkgfile
+++ b/x264/Pkgfile
@@ -5,9 +5,9 @@
# Depends on: lzma
name=x264
-version=r717
+version=r736
release=1
-source=(http://romster.shortcircuit.net.au/crux/source/x264-snapshot-$version.tar.lzma)
+source=(http://romster.shortcircuit.net.au/crux/source/x264/x264-snapshot-$version.tar.lzma)
build() {
# temp fix untill/if pkgutils supports lzma
@@ -17,8 +17,11 @@ build() {
fi
cd x264
+ export CFLAGS="$(echo $CFLAGS |sed -e 's/-O[s0-3] //')"
- sed -i -e '/^ CFLAGS="/s/-O4 -ffast-math $CFLAGS/${CFLAGS\/-O?\/-O3} -ffast-math/' configure
+ sed -i \
+ -e 's/-O4/-O3/' \
+ -e 's|-I/usr/X11R6/include|-I/usr/X11/include|' configure
./configure \
--prefix=/usr \

Generated by cgit