[vlc-commits] contrib: fetch x264 snapshots over HTTP
Rémi Denis-Courmont
git at videolan.org
Mon Aug 1 17:22:55 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 1 16:27:29 2011 +0300| [932bc7284b5632b49c0650c1a3c8b6071b184af4] | committer: Rémi Denis-Courmont
contrib: fetch x264 snapshots over HTTP
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=932bc7284b5632b49c0650c1a3c8b6071b184af4
---
contrib/src/x264/rules.mak | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/contrib/src/x264/rules.mak b/contrib/src/x264/rules.mak
index 4f0caab..1873697 100644
--- a/contrib/src/x264/rules.mak
+++ b/contrib/src/x264/rules.mak
@@ -3,6 +3,7 @@
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
@@ -36,14 +37,19 @@ $(TARBALLS)/x264-$(X264_VERSION).tar.gz:
$(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
More information about the vlc-commits
mailing list