[vlc-commits] Revert "Revert "contrib: download prebuilt contribs""
Rafaël Carré
git at videolan.org
Thu Nov 24 18:53:36 CET 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Nov 24 12:47:05 2011 -0500| [11e1cf9a7bc41b143d34db1f9c9672a3eaa7e4d9] | committer: Rafaël Carré
Revert "Revert "contrib: download prebuilt contribs""
This reverts commit 7ec0ffed13824f339337a5265e13d92cfd69d8ae.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=11e1cf9a7bc41b143d34db1f9c9672a3eaa7e4d9
---
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