[vlmc-devel] contribs: Add VLC

Hugo Beauzée-Luyssen git at videolan.org
Tue Aug 2 01:00:32 CEST 2016


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Thu Jul 21 10:24:21 2016 +0200| [a06fec3e3c6c0f23f8288696343252e127583d95] | committer: Hugo Beauzée-Luyssen

contribs: Add VLC

This is required by the medialibrary

> https://code.videolan.org/videolan/vlmc/commit/a06fec3e3c6c0f23f8288696343252e127583d95
---

 contribs/src/vlc/rules.mak | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/contribs/src/vlc/rules.mak b/contribs/src/vlc/rules.mak
new file mode 100644
index 0000000..4174290
--- /dev/null
+++ b/contribs/src/vlc/rules.mak
@@ -0,0 +1,29 @@
+ifdef HAVE_WIN32
+FLAVOR:=win32
+else
+ifdef HAVE_WIN64
+FLAVOR:=win64
+endif
+endif
+
+VLC_VERSION := 3.0.0-20160720-0235
+VLC_ARCHIVE_NAME := vlc-$(VLC_VERSION)-git-$(FLAVOR).7z
+VLC_URL := http://nightlies.videolan.org/build/$(FLAVOR)/last/$(VLC_ARCHIVE_NAME)
+
+PKGS += vlc
+ifeq ($(call need_pkg,"libvlc"),)
+PKGS_FOUND += vlc
+endif
+
+$(TARBALLS)/$(VLC_ARCHIVE_NAME):
+	$(call download_pkg,$(VLC_URL),vlc)
+
+vlc: $(VLC_ARCHIVE_NAME)
+	$(UNPACK)
+	mv vlc-3.0.0-git vlc-$(VLC_VERSION)-git-$(FLAVOR)
+	$(MOVE)
+
+.vlc: vlc
+	cd $< && cp -R sdk/include $(PREFIX)/
+	cd $< && cp -R sdk/lib $(PREFIX)/
+	touch $@



More information about the Vlmc-devel mailing list