]> git.sesse.net Git - vlc/commitdiff
Contribs: take latest x264 stable
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 21 Jan 2015 15:43:28 +0000 (16:43 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 21 Jan 2015 15:54:33 +0000 (16:54 +0100)
contrib/src/x264/rules.mak

index 34a567baceeeae05845e579566b233a5a33b76c0..7a329ba7511d0a5d6a6a37269e281bcc9e84c3a4 100644 (file)
@@ -1,7 +1,7 @@
 # x264
 
 X264_GITURL := git://git.videolan.org/x264.git
-X264_SNAPURL := http://git.videolan.org/?p=x264.git;a=snapshot;h=HEAD;sf=tgz
+X264_SNAPURL := ftp://ftp.videolan.org/pub/videolan/x264/snapshots/last_stable_x264.tar.bz2
 X262_GITURL := git://git.videolan.org/x262.git
 
 ifdef BUILD_ENCODERS
@@ -47,38 +47,38 @@ $(TARBALLS)/x262-git.tar.gz:
 $(TARBALLS)/x26410b-git.tar.xz:
        $(call download_git,$(X264_GITURL))
 
-$(TARBALLS)/x26410b-git.tar.gz:
+$(TARBALLS)/x26410b-git.tar.bz2:
        $(call download,$(X264_SNAPURL))
 
 $(TARBALLS)/x264-git.tar.xz:
        $(call download_git,$(X264_GITURL))
 
-$(TARBALLS)/x264-git.tar.gz:
+$(TARBALLS)/x264-git.tar.bz2:
        $(call download,$(X264_SNAPURL))
 
 .sum-x262: x262-git.tar.gz
        $(warning $@ not implemented)
        touch $@
 
-.sum-x26410b: x26410b-git.tar.gz
+.sum-x26410b: x26410b-git.tar.bz2
        $(warning $@ not implemented)
        touch $@
 
-.sum-x264: x264-git.tar.gz
+.sum-x264: x264-git.tar.bz2
        $(warning $@ not implemented)
        touch $@
 
-x264: x264-git.tar.gz .sum-x264
+x264: x264-git.tar.bz2 .sum-x264
        rm -Rf $@-git
        mkdir -p $@-git
-       $(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
+       $(BZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
        $(UPDATE_AUTOCONFIG)
        $(MOVE)
 
-x26410b: x26410b-git.tar.gz .sum-x26410b
+x26410b: x26410b-git.tar.bz2 .sum-x26410b
        rm -Rf $@-git
        mkdir -p $@-git
-       $(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
+       $(BZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
        $(UPDATE_AUTOCONFIG)
        $(MOVE)