diff options
author | jbrjake <[email protected]> | 2007-08-01 17:13:36 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2007-08-01 17:13:36 +0000 |
commit | 8cb0b130a99d34794a9223553478ca23830f9f2c (patch) | |
tree | e7366073daaff12f0fb74c38493bb04b41034371 /contrib/Jamfile | |
parent | 6bf190d7481c23c148c5fa737a6174f62a4fcf3c (diff) |
Implements libswscale in HandBrake, giving it Lanczos scaling! This major enhancement comes to us courtesy of superdump, who deserves much praise and glory. To make this work, ffmpeg's been updated to a recent revision.
Darwin contrib binary pack ++ to 0016. Includes fresh ffmpeg and libswscale as well as the recently-patched libmp4v2.
I've also added the configure option --disable-sdl to libmpeg2 in the contrib/Jamfile, because without it jam always fails for me and I'm sick of adding it in every time. Hopefully this doesn't break anything for anyone, but if it does it's just a one-word change.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@778 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/Jamfile')
-rw-r--r-- | contrib/Jamfile | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/contrib/Jamfile b/contrib/Jamfile index 5b6c08ee5..d99672666 100644 --- a/contrib/Jamfile +++ b/contrib/Jamfile @@ -48,14 +48,8 @@ LibA52 $(SUBDIR)/lib/liba52.a : $(SUBDIR)/a52dec.tar.gz ; # libavcodec rule LibAvCodec { - FFMPEG_PATCH = "patch -p1 < ../patch-ffmpeg.patch" ; - if $(OS) = MACOSX && $(OSPLAT) = X86 - { - FFMPEG_OPTIONS = --enable-memalign-hack ; - # This patch simply don't apply correctly so don't try to do it - # FFMPEG_PATCH += " && patch -p1 < ../patch-ffmpeg-macintel.patch" ; - } - else if $(OS) = CYGWIN + FFMPEG_PATCH = "patch -p0 < ../patch-ffmpeg.patch" ; + if $(OS) = CYGWIN { FFMPEG_PATCH += " && patch -p1 < ../patch-ffmpeg-cygwin.patch " ; } @@ -67,7 +61,7 @@ actions LibAvCodec cd `dirname $(>)` && CONTRIB=`pwd` && rm -rf ffmpeg && tar xzf ffmpeg.tar.gz && cd ffmpeg && $(FFMPEG_PATCH) && - ./configure --prefix=$CONTRIB $(FFMPEG_OPTIONS) --enable-gpl --disable-audio-beos --enable-shared --enable-static&& + ./configure --prefix=$CONTRIB $(FFMPEG_OPTIONS) --enable-gpl --enable-swscaler --disable-decoders --enable-decoder=mp2 --disable-encoders --enable-encoder=mpeg4 --enable-encoder=mp2 --enable-encoder=ac3 --enable-encoder=snow --disable-audio-beos --enable-shared --enable-static && make && make install && strip -S $CONTRIB/lib/libavcodec.a } @@ -85,6 +79,7 @@ actions LibAvUtil } LibAvUtil $(SUBDIR)/lib/libavutil.a : $(SUBDIR)/lib/libavcodec.a ; LibAvUtil $(SUBDIR)/lib/libavformat.a : $(SUBDIR)/lib/libavcodec.a ; +LibAvUtil $(SUBDIR)/lib/libswscale.a : $(SUBDIR)/lib/libavcodec.a ; # CSS doesn't work on Cygwin/Windows as of now, so don't use it. if $(OS) != CYGWIN @@ -243,7 +238,7 @@ actions LibMpeg2 { cd `dirname $(>)` && CONTRIB=`pwd` && rm -rf mpeg2dec && tar xzf mpeg2dec.tar.gz && cd mpeg2dec && - ./configure --prefix=$CONTRIB --disable-shared && + ./configure --prefix=$CONTRIB --disable-shared --disable-sdl && make && make install && strip -S $CONTRIB/lib/libmpeg2.a } |