vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Mon Jun 20 12:01:00 2016 +0200| [29fc50d7fa68f6318d942b1f3dfa5d7ad75660ff] | committer: Jean-Baptiste Kempf
Contribs: provide a macro to do dual downloading First from videolan ftp, then original page There might be a more elegant way of doing so... > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=29fc50d7fa68f6318d942b1f3dfa5d7ad75660ff --- contrib/src/main.mak | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/src/main.mak b/contrib/src/main.mak index 7844687..5a73375 100644 --- a/contrib/src/main.mak +++ b/contrib/src/main.mak @@ -246,6 +246,9 @@ else download = $(error Neither curl nor wget found!) endif +download_pkg = $(call download,$(CONTRIB_VIDEOLAN)/$(2)/$(lastword $(subst /, ,$(@)))) || \ + $(call download,$(1)) && echo "Please upload this package $(lastword $(subst /, ,$(@))) to our FTP" + ifeq ($(shell which xzcat >/dev/null 2>&1 || echo FAIL),) XZCAT = xzcat else _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
