Commit a06fec3e authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

contribs: Add VLC

This is required by the medialibrary
parent a0a0ee39
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 $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment