# 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
$(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)