[vlc-commits] contrib/ffmpeg: fix source download
Felix Paul Kühne
git at videolan.org
Wed Jan 28 18:50:29 CET 2015
vlc/vlc-2.2 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Wed Jan 28 18:40:38 2015 +0100| [f333a1c7fc9e4de4729c53a7c0718a001af37093] | committer: Felix Paul Kühne
contrib/ffmpeg: fix source download
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=f333a1c7fc9e4de4729c53a7c0718a001af37093
---
contrib/src/ffmpeg/rules.mak | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/contrib/src/ffmpeg/rules.mak b/contrib/src/ffmpeg/rules.mak
index 8401113..a1a56da 100644
--- a/contrib/src/ffmpeg/rules.mak
+++ b/contrib/src/ffmpeg/rules.mak
@@ -7,9 +7,11 @@ USE_FFMPEG ?= 1
ifdef USE_FFMPEG
HASH=fe47cba
FFMPEG_SNAPURL := http://git.videolan.org/?p=ffmpeg.git;a=snapshot;h=$(HASH);sf=tgz
+FFMPEG_GITURL := git://git.videolan.org/ffmpeg.git
else
HASH=3a6dfec
FFMPEG_SNAPURL := http://git.libav.org/?p=libav.git;a=snapshot;h=$(HASH);sf=tgz
+FFMPEG_GITURL := git://git.libav.org/libav.git
endif
FFMPEGCONF = \
@@ -148,14 +150,14 @@ ifeq ($(call need_pkg,"libavcodec >= 54.25.0 libavformat >= 53.21.0 libswscale")
PKGS_FOUND += ffmpeg
endif
-$(TARBALLS)/ffmpeg-$(HASH).tar.gz:
- $(call download,$(FFMPEG_SNAPURL))
+$(TARBALLS)/ffmpeg-$(HASH).tar.xz:
+ $(call download_git,$(FFMPEG_GITURL),,$(HASH))
-.sum-ffmpeg: $(TARBALLS)/ffmpeg-$(HASH).tar.gz
+.sum-ffmpeg: $(TARBALLS)/ffmpeg-$(HASH).tar.xz
$(warning Not implemented.)
touch $@
-ffmpeg: ffmpeg-$(HASH).tar.gz .sum-ffmpeg
+ffmpeg: ffmpeg-$(HASH).tar.xz .sum-ffmpeg
rm -Rf $@ $@-$(HASH)
mkdir -p $@-$(HASH)
$(ZCAT) "$<" | (cd $@-$(HASH) && tar xv --strip-components=1)
More information about the vlc-commits
mailing list