Commit 932bc728 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: fetch x264 snapshots over HTTP

parent a86ca0b7
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment