diff options
author | saintdev <[email protected]> | 2008-03-20 02:40:02 +0000 |
---|---|---|
committer | saintdev <[email protected]> | 2008-03-20 02:40:02 +0000 |
commit | 3a3870d7ea1e81e1a145b1d555b9f0164860f9e3 (patch) | |
tree | 9243f518a3d3827ce2d85c28c4c426e22c780a6f /contrib | |
parent | 1cac31c9ed66396d3fc8a00e9fd75b5f56b000a0 (diff) |
Theora.
This adds the theora encoder to the Xcode project as well. It does not enable
anything in the Mac GUI, just allows it to build.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1350 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/Jamfile | 18 | ||||
-rw-r--r-- | contrib/version_libtheora.txt | 2 |
2 files changed, 20 insertions, 0 deletions
diff --git a/contrib/Jamfile b/contrib/Jamfile index 06cb557ec..891483102 100644 --- a/contrib/Jamfile +++ b/contrib/Jamfile @@ -336,6 +336,24 @@ actions LibVorbisEnc } LibVorbisEnc $(SUBDIR)/lib/libvorbisenc.a : $(SUBDIR)/lib/libvorbis.a ; +# libtheora +rule LibTheora +{ + Depends $(<) : $(>) ; + Depends lib : $(<) ; +} +actions LibTheora +{ + cd `dirname $(>)` && CONTRIB=`pwd` && rm -rf libtheora && + (gzip -dc libtheora.tar.gz | tar xf - ) && cd libtheora && + ./configure --prefix=$CONTRIB --with-ogg=$CONTRIB --with-vorbis=$CONTRIB --cache-file=$CONTRIB/config.cache --disable-shared \ + --disable-oggtest --disable-vorbistest --disable-sdltest --disable-examples && + $(MAKE) && $(MAKE) install && + $(STRIP) $CONTRIB/lib/libtheora.a +} +Wget $(SUBDIR)/libtheora.tar.gz : $(SUBDIR)/version_libtheora.txt ; +LibTheora $(SUBDIR)/lib/libtheora.a : $(SUBDIR)/libtheora.tar.gz ; + # libx264 rule LibX264 { diff --git a/contrib/version_libtheora.txt b/contrib/version_libtheora.txt new file mode 100644 index 000000000..30401afb3 --- /dev/null +++ b/contrib/version_libtheora.txt @@ -0,0 +1,2 @@ +http://download.m0k.org/handbrake/contrib/libtheora-1.0beta2.tar.gz + |