]> git.sesse.net Git - vlc/commitdiff
x264 moved to Git.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 12 Mar 2008 06:32:36 +0000 (23:32 -0700)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 12 Mar 2008 06:32:36 +0000 (23:32 -0700)
Will remove the legacy tar.gz. If you build the contribs, you need SVN and git.

extras/contrib/src/Makefile

index c240acd8762363072c0b0cf700fe318300517485..9c1d68a2d17423d3a5338fe0d7cdcec8f508fae1 100644 (file)
@@ -1338,6 +1338,19 @@ DISTCLEAN_PKG += libdca-$(LIBDCA_VERSION).tar.bz2
 x264-$(X264_VERSION).tar.gz:
        $(WGET) $(X264_URL)
 
+ifdef GIT
+x264:
+       $(GIT) clone git://git.videolan.org/x264.git
+       patch -p0 < Patches/x264-svn-info-threads.patch
+ifdef HAVE_WIN32
+       (cd x264; patch -p0 < ../Patches/x264-svn-win32.patch )
+endif
+ifdef HAVE_DARWIN_OS
+       (cd $@; patch -p0 < ../Patches/x264-svn-darwin.patch )
+endif
+
+else
+
 ifdef SVN
 x264: 
        $(SVN) co svn://svn.videolan.org/x264/trunk/ x264