diff options
author | handbrake <[email protected]> | 2006-01-14 13:40:38 +0000 |
---|---|---|
committer | handbrake <[email protected]> | 2006-01-14 13:40:38 +0000 |
commit | 56bb6ce496b475944bb9577c7586e84be1cb831e (patch) | |
tree | 7720c135a160a34f22ce8f1f911f350e18207eaa /contrib | |
parent | d35a2a23fe450c88925128b9db7c63a5f1ed395d (diff) |
HandBrake 0.7.0
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@16 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/Jamfile | 270 | ||||
-rw-r--r-- | contrib/version_a52dec.txt | 1 | ||||
-rw-r--r-- | contrib/version_faac.txt | 1 | ||||
-rw-r--r-- | contrib/version_ffmpeg.txt | 1 | ||||
-rw-r--r-- | contrib/version_lame.txt | 1 | ||||
-rw-r--r-- | contrib/version_libdvdcss.txt | 1 | ||||
-rw-r--r-- | contrib/version_libdvdread.txt | 1 | ||||
-rw-r--r-- | contrib/version_libogg.txt | 1 | ||||
-rw-r--r-- | contrib/version_libsamplerate.txt | 1 | ||||
-rw-r--r-- | contrib/version_libvorbis.txt | 1 | ||||
-rw-r--r-- | contrib/version_mpeg2dec.txt | 1 | ||||
-rw-r--r-- | contrib/version_mpeg4ip.txt | 1 | ||||
-rw-r--r-- | contrib/version_x264.txt | 1 | ||||
-rw-r--r-- | contrib/version_xvidcore.txt | 1 |
14 files changed, 283 insertions, 0 deletions
diff --git a/contrib/Jamfile b/contrib/Jamfile new file mode 100644 index 000000000..5bdf71bfa --- /dev/null +++ b/contrib/Jamfile @@ -0,0 +1,270 @@ +SubDir TOP contrib ; + +# Use curl on Mac OS X since it's always installed, and assume wget +# is installed for all other systems +if $(OS) = MACOSX +{ + WGET = curl -o ; +} +else +{ + WGET = wget -O ; +} + +# Wget rule: downloads $(<) from the link in $(>) +rule Wget +{ + Depends $(<) : $(>) ; +} +actions Wget +{ + $(RM) $(<) && + $(WGET) $(<) `cat $(>)` && + ( touch $(<) || true ) +} + +# liba52 +rule LibA52 +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibA52 +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf a52dec && tar xzf a52dec.tar.gz && cd a52dec && + ./configure --prefix=$CONTRIB && make && make install && + strip -S $CONTRIB/lib/liba52.a +} +Wget $(SUBDIR)/a52dec.tar.gz : $(SUBDIR)/version_a52dec.txt ; +LibA52 $(SUBDIR)/lib/liba52.a : $(SUBDIR)/a52dec.tar.gz ; + +# libavcodec +rule LibAvCodec +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibAvCodec +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf ffmpeg && tar xzf ffmpeg.tar.gz && cd ffmpeg && + ./configure --prefix=$CONTRIB --enable-gpl && + make -C libavcodec && make -C libavutil && + make -C libavcodec installlib && make -C libavutil installlib && + strip -S $CONTRIB/lib/libavcodec.a +} +Wget $(SUBDIR)/ffmpeg.tar.gz : $(SUBDIR)/version_ffmpeg.txt ; +LibAvCodec $(SUBDIR)/lib/libavcodec.a : $(SUBDIR)/ffmpeg.tar.gz ; + +rule LibAvUtil +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibAvUtil +{ + strip -S $(<) +} +LibAvUtil $(SUBDIR)/lib/libavutil.a : $(SUBDIR)/lib/libavcodec.a ; + +# libdvdcss +# We need libdvdcss.so for libdvdread's configure to work... +rule LibDvdCss +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibDvdCss +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf libdvdcss && tar xzf libdvdcss.tar.gz && cd libdvdcss && + ./configure --prefix=$CONTRIB && make && make install && + strip -S $CONTRIB/lib/libdvdcss.a +} +Wget $(SUBDIR)/libdvdcss.tar.gz : $(SUBDIR)/version_libdvdcss.txt ; +LibDvdCss $(SUBDIR)/lib/libdvdcss.a : $(SUBDIR)/libdvdcss.tar.gz ; + +# libdvdread +rule LibDvdRead +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibDvdRead +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf libdvdread && tar xzf libdvdread.tar.gz && cd libdvdread && + ./configure --prefix=$CONTRIB --disable-shared --with-libdvdcss=$CONTRIB && + make && make install && + strip -S $CONTRIB/lib/libdvdread.a +} +Wget $(SUBDIR)/libdvdread.tar.gz : $(SUBDIR)/version_libdvdread.txt ; +LibDvdRead $(SUBDIR)/lib/libdvdread.a : $(SUBDIR)/libdvdread.tar.gz ; + +# libfaac +rule LibFaac +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibFaac +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf faac && tar xzf faac.tar.gz && cd faac && + ./configure --prefix=$CONTRIB --disable-shared && + make && make install && + strip -S $CONTRIB/lib/libfaac.a +} +Wget $(SUBDIR)/faac.tar.gz : $(SUBDIR)/version_faac.txt ; +LibFaac $(SUBDIR)/lib/libfaac.a : $(SUBDIR)/faac.tar.gz ; + +# libmp3lame +rule LibMp3Lame +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibMp3Lame +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf lame && tar xzf lame.tar.gz && cd lame && + ./configure --prefix=$CONTRIB --disable-shared && + make && make install && + strip -S $CONTRIB/lib/libmp3lame.a +} +Wget $(SUBDIR)/lame.tar.gz : $(SUBDIR)/version_lame.txt ; +LibMp3Lame $(SUBDIR)/lib/libmp3lame.a : $(SUBDIR)/lame.tar.gz ; + +# libmp4v2 +rule LibMp4v2 +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibMp4v2 +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf mpeg4ip && tar xzf mpeg4ip.tar.gz && cd mpeg4ip && + ./bootstrap && make -C lib/mp4v2 libmp4v2.la && + cp lib/mp4v2/.libs/libmp4v2.a $CONTRIB/lib && + cp mpeg4ip_config.h include/mpeg4ip.h include/mpeg4ip_version.h \ + include/mpeg4ip_win32.h lib/mp4v2/mp4.h $CONTRIB/include && + strip -S $CONTRIB/lib/libmp4v2.a +} +Wget $(SUBDIR)/mpeg4ip.tar.gz : $(SUBDIR)/version_mpeg4ip.txt ; +LibMp4v2 $(SUBDIR)/lib/libmp4v2.a : $(SUBDIR)/mpeg4ip.tar.gz ; + +# libmpeg2 +rule LibMpeg2 +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibMpeg2 +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf mpeg2dec && tar xzf mpeg2dec.tar.gz && cd mpeg2dec && + ./configure --prefix=$CONTRIB --disable-shared && + make && make install && + strip -S $CONTRIB/lib/libmpeg2.a +} +Wget $(SUBDIR)/mpeg2dec.tar.gz : $(SUBDIR)/version_mpeg2dec.txt ; +LibMpeg2 $(SUBDIR)/lib/libmpeg2.a : $(SUBDIR)/mpeg2dec.tar.gz ; + +# libogg +rule LibOgg +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibOgg +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf libogg && tar xzf libogg.tar.gz && cd libogg && + ./configure --prefix=$CONTRIB --disable-shared && + make && make install && + strip -S $CONTRIB/lib/libogg.a +} +Wget $(SUBDIR)/libogg.tar.gz : $(SUBDIR)/version_libogg.txt ; +LibOgg $(SUBDIR)/lib/libogg.a : $(SUBDIR)/libogg.tar.gz ; + +# libsamplerate +rule LibSampleRate +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibSampleRate +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf libsamplerate && tar xzf libsamplerate.tar.gz && cd libsamplerate && + ./configure --prefix=$CONTRIB --disable-shared && + make && make install && + strip -S $CONTRIB/lib/libsamplerate.a +} +Wget $(SUBDIR)/libsamplerate.tar.gz : $(SUBDIR)/version_libsamplerate.txt ; +LibSampleRate $(SUBDIR)/lib/libsamplerate.a : $(SUBDIR)/libsamplerate.tar.gz ; + +# libvorbis +rule LibVorbis +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibVorbis +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf libvorbis && tar xzf libvorbis.tar.gz && cd libvorbis && + ./configure --prefix=$CONTRIB --with-ogg=$CONTRIB --disable-shared && + make && make install && + strip -S $CONTRIB/lib/libvorbis.a +} +Wget $(SUBDIR)/libvorbis.tar.gz : $(SUBDIR)/version_libvorbis.txt ; +LibVorbis $(SUBDIR)/lib/libvorbis.a : $(SUBDIR)/libvorbis.tar.gz ; + +rule LibVorbisEnc +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibVorbisEnc +{ + strip -S $(<) +} +LibVorbisEnc $(SUBDIR)/lib/libvorbisenc.a : $(SUBDIR)/lib/libvorbis.a ; + +# libx264 +rule LibX264 +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibX264 +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf x264 && tar xzf x264.tar.gz && cd x264 && + ./configure --prefix=$CONTRIB --enable-pthread && make && + make install && + strip -S $CONTRIB/lib/libx264.a +} +Wget $(SUBDIR)/x264.tar.gz : $(SUBDIR)/version_x264.txt ; +LibX264 $(SUBDIR)/lib/libx264.a : $(SUBDIR)/x264.tar.gz ; + +# libxvidcore +rule LibXvidCore +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibXvidCore +{ + cd `dirname $(>)` && CONTRIB=`pwd` && + rm -rf xvidcore && tar xzf xvidcore.tar.gz && + cd xvidcore/build/generic/ && ./configure && make libxvidcore.a && + cp ./=build/libxvidcore.a $CONTRIB/lib/ && + cp ../../src/xvid.h $CONTRIB/include/ && + strip -S $CONTRIB/lib/libxvidcore.a +} +Wget $(SUBDIR)/xvidcore.tar.gz : $(SUBDIR)/version_xvidcore.txt ; +LibXvidCore $(SUBDIR)/lib/libxvidcore.a : $(SUBDIR)/xvidcore.tar.gz ; diff --git a/contrib/version_a52dec.txt b/contrib/version_a52dec.txt new file mode 100644 index 000000000..86617fd36 --- /dev/null +++ b/contrib/version_a52dec.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/a52dec-0.7.4.tar.gz diff --git a/contrib/version_faac.txt b/contrib/version_faac.txt new file mode 100644 index 000000000..e3466666b --- /dev/null +++ b/contrib/version_faac.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/faac-1.24.tar.gz diff --git a/contrib/version_ffmpeg.txt b/contrib/version_ffmpeg.txt new file mode 100644 index 000000000..b8a5c6f6e --- /dev/null +++ b/contrib/version_ffmpeg.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/ffmpeg-20051007.tar.gz diff --git a/contrib/version_lame.txt b/contrib/version_lame.txt new file mode 100644 index 000000000..b4bb63c81 --- /dev/null +++ b/contrib/version_lame.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/lame-3.96.1.tar.gz diff --git a/contrib/version_libdvdcss.txt b/contrib/version_libdvdcss.txt new file mode 100644 index 000000000..81d1ef157 --- /dev/null +++ b/contrib/version_libdvdcss.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/libdvdcss-1.2.9.tar.gz diff --git a/contrib/version_libdvdread.txt b/contrib/version_libdvdread.txt new file mode 100644 index 000000000..b7be38fd7 --- /dev/null +++ b/contrib/version_libdvdread.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/libdvdread-20050928.tar.gz diff --git a/contrib/version_libogg.txt b/contrib/version_libogg.txt new file mode 100644 index 000000000..57daaf702 --- /dev/null +++ b/contrib/version_libogg.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/libogg-1.1.2.tar.gz diff --git a/contrib/version_libsamplerate.txt b/contrib/version_libsamplerate.txt new file mode 100644 index 000000000..a0f5b3804 --- /dev/null +++ b/contrib/version_libsamplerate.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/libsamplerate-0.1.2.tar.gz diff --git a/contrib/version_libvorbis.txt b/contrib/version_libvorbis.txt new file mode 100644 index 000000000..db3f67caf --- /dev/null +++ b/contrib/version_libvorbis.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/libvorbis-1.1.1.tar.gz diff --git a/contrib/version_mpeg2dec.txt b/contrib/version_mpeg2dec.txt new file mode 100644 index 000000000..87a73c92a --- /dev/null +++ b/contrib/version_mpeg2dec.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/mpeg2dec-20051019.tar.gz diff --git a/contrib/version_mpeg4ip.txt b/contrib/version_mpeg4ip.txt new file mode 100644 index 000000000..f60e5972a --- /dev/null +++ b/contrib/version_mpeg4ip.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/mpeg4ip-1.3.tar.gz diff --git a/contrib/version_x264.txt b/contrib/version_x264.txt new file mode 100644 index 000000000..560f081ab --- /dev/null +++ b/contrib/version_x264.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/x264-r305.tar.gz diff --git a/contrib/version_xvidcore.txt b/contrib/version_xvidcore.txt new file mode 100644 index 000000000..573cd3c8a --- /dev/null +++ b/contrib/version_xvidcore.txt @@ -0,0 +1 @@ +http://download.m0k.org/handbrake/contrib/xvidcore-1.1.0-beta2.tar.gz |