summaryrefslogtreecommitdiffstats
path: root/contrib/Jamfile
diff options
context:
space:
mode:
authorvan <[email protected]>2008-05-31 17:00:42 +0000
committervan <[email protected]>2008-05-31 17:00:42 +0000
commitafbd06d8d6151b69bbb18adf83cfab8d680c3946 (patch)
tree4e7be731854c8b8db8f87934c301c60a9155387c /contrib/Jamfile
parentd0550da569b56a71857c34463c5b030172d47291 (diff)
- support blu-ray, avchd & dvb x264
- support video files handled by ffmpeg (avi, mkv, mp4, etc.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1480 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/Jamfile')
-rw-r--r--contrib/Jamfile28
1 files changed, 24 insertions, 4 deletions
diff --git a/contrib/Jamfile b/contrib/Jamfile
index 202df5c05..972c32817 100644
--- a/contrib/Jamfile
+++ b/contrib/Jamfile
@@ -57,6 +57,23 @@ actions LibA52
Wget $(SUBDIR)/a52dec.tar.gz : $(SUBDIR)/version_a52dec.txt ;
LibA52 $(SUBDIR)/lib/liba52.a : $(SUBDIR)/a52dec.tar.gz ;
+# FAAD2
+rule LibFaad2
+{
+ Depends $(<) : $(>) ;
+ Depends lib : $(<) ;
+}
+
+actions LibFaad2
+{
+ cd `dirname $(>)` && CONTRIB=`pwd` &&
+ rm -rf faad2 && (gzip -dc faad2.tar.gz | tar xf -) &&
+ cd faad2 &&
+ ./bootstrap && ./configure --prefix=$CONTRIB --cache-file=$CONTRIB/config.cache --disable-shared && $(MAKE) && $(MAKE) install
+}
+Wget $(SUBDIR)/faad2.tar.gz : $(SUBDIR)/version_faad2.txt ;
+LibFaad2 $(SUBDIR)/lib/libfaad.a : $(SUBDIR)/faad2.tar.gz ;
+
# libavcodec
rule LibAvCodec
{
@@ -78,10 +95,13 @@ actions LibAvCodec
cd `dirname $(>)` && CONTRIB=`pwd` &&
rm -rf ffmpeg && (gzip -dc ffmpeg.tar.gz | tar xf -) &&
cd ffmpeg && $(FFMPEG_PATCH) &&
- ./configure --prefix=$CONTRIB --enable-gpl --enable-pthreads --enable-swscaler --disable-audio-beos --disable-shared --enable-static \
- --disable-decoders --enable-decoder=mp2 --disable-parsers --enable-parser=mpegaudio \
- --disable-encoders --enable-encoder=mpeg4 --enable-encoder=ac3 --enable-encoder=snow \
- --disable-muxers --enable-muxer=ipod --disable-demuxers --disable-protocols --disable-bsfs &&
+ ./configure --prefix=$CONTRIB --enable-gpl --enable-pthreads --enable-swscale \
+ --disable-shared --enable-static --disable-encoders \
+ --enable-encoder=mpeg4 --enable-encoder=ac3 --enable-encoder=snow \
+ --enable-libfaad --disable-ffmpeg --disable-ffserver \
+ --disable-muxers --enable-muxer=ipod --disable-bsfs \
+ --extra-cflags="-I$CONTRIB/include" \
+ --extra-ldflags="-L$CONTRIB/lib" &&
$(MAKE) && $(MAKE) install &&
$(STRIP) $CONTRIB/lib/libavcodec.a
}