vlc: add optional dependency to libmatroska
authorPieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Thu, 31 Dec 2015 11:02:22 +0000 (12:02 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 31 Dec 2015 14:22:07 +0000 (15:22 +0100)
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@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/vlc/vlc.mk

index ee21c163312951d1fb046aea433943e5991270d2..a080e3efda0c77d50e6fc4a0ad6e7983f934a8d5 100644 (file)
@@ -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