[vlc-commits] contrib: download prebuilt contribs

Rafaël Carré git at videolan.org
Thu Nov 24 03:41:41 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Nov 23 21:41:09 2011 -0500| [aee3c6f9ddf1a82e67194a2fdf74102bc4002a9f] | committer: Rafaël Carré

contrib: download prebuilt contribs

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=aee3c6f9ddf1a82e67194a2fdf74102bc4002a9f
---

 contrib/src/main.mak |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index ef5b64a..038bd94 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -278,6 +278,15 @@ ifdef HAVE_WIN32
 OS=win32
 endif
 
+PREBUILT_URL=ftp://ftp.videolan.org/pub/videolan/contrib/$(OS)/vlc-contrib-$(OS)-$(HOST)-latest.tar.bz2
+
+vlc-contrib-$(OS)-$(HOST)-latest.tar.bz2:
+	$(call download,$(PREBUILT_URL))
+
+prebuilt: vlc-contrib-$(OS)-$(HOST)-latest.tar.bz2
+	$(UNPACK) && mv $(HOST) $(TOPDST)
+	cd $(TOPDST)/$(HOST) && ./change_prefix.sh
+
 package: install
 	rm -Rf tmp/
 	mkdir -p tmp/
@@ -306,7 +315,7 @@ list:
 	@echo To-be-built packages:
 	@echo '  $(PKGS)' | fmt
 
-.PHONY: all fetch fetch-all install mostlyclean clean distclean package list
+.PHONY: all fetch fetch-all install mostlyclean clean distclean package list prebuilt
 
 # CMake toolchain
 toolchain.cmake:



More information about the vlc-commits mailing list