[Buildroot] [git commit] vlc: add optional dependency to libmatroska

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Dec 31 14:22:07 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=217171565fe7c1d8b3bdfe538da11ed190f46b28
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

libmatroska is an optional dependency to vlc:
http://git.videolan.org/?p=vlc.git;a=blob;f=configure.ac;h=c46120d7f2a7d49d68d488d617e071148b8c5595;hb=HEAD#l2044

Add it to vlc.mk to get reproducable builds.

Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/vlc/vlc.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk
index ee21c16..a080e3e 100644
--- a/package/vlc/vlc.mk
+++ b/package/vlc/vlc.mk
@@ -202,6 +202,13 @@ else
 VLC_CONF_OPTS += --disable-mad
 endif
 
+ifeq ($(BR2_PACKAGE_LIBMATROSKA),y)
+VLC_CONF_OPTS += --enable-mkv
+VLC_DEPENDENCIES += libmatroska
+else
+VLC_CONF_OPTS += --disable-mkv
+endif
+
 ifeq ($(BR2_PACKAGE_LIBMODPLUG),y)
 VLC_CONF_OPTS += --enable-mod
 VLC_DEPENDENCIES += libmodplug


More information about the buildroot mailing list