X264_VERSION := 20050609
X264_URL := $(CONTRIB_VIDEOLAN)/x264-$(X264_VERSION).tar.gz
X264_GITURL := git://git.videolan.org/x264.git
+X264_SNAPURL := http://git.videolan.org/?p=x264.git;a=snapshot;h=HEAD;sf=tgz
ifdef BUILD_ENCODERS
PKGS += x264
$(TARBALLS)/x264-git.tar.xz:
$(call download_git,$(X264_GITURL))
+$(TARBALLS)/x264-git.tar.gz:
+ $(call download,$(X264_SNAPURL))
+
X264_VERSION := git
-.sum-x264: x264-$(X264_VERSION).tar.xz
+.sum-x264: x264-$(X264_VERSION).tar.gz
$(warning $@ not implemented)
touch $@
-x264: x264-$(X264_VERSION).tar.xz .sum-x264
- $(UNPACK)
+x264: x264-$(X264_VERSION).tar.gz .sum-x264
+ rm -Rf x264-git
+ mkdir -p x264-git
+ zcat "$<" | (cd x264-git && tar xv --strip-components=1)
$(MOVE)
.x264: x264