package/vlc: Add optional dependency to libbluray
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 9 Jan 2016 21:03:55 +0000 (22:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 13 Jan 2016 21:16:10 +0000 (22:16 +0100)
libbluray is an optional dependency of vlc:
http://git.videolan.org/gitweb.cgi?p=vlc.git;a=blob;f=configure.ac;h=d44151b3fb507141ce7f9b98e95fa11edcdaac01;hb=HEAD#l1739

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/vlc/vlc.mk

index 61b00e917dfb09f02b9b65d0bbb50ca42c2e1874..8acdc4e8df4f21a995eb4481aca5dd9a16a1d40b 100644 (file)
@@ -179,6 +179,13 @@ else
 VLC_CONF_OPTS += --disable-libass
 endif
 
+ifeq ($(BR2_PACKAGE_LIBBLURAY),y)
+VLC_CONF_OPTS += --enable-bluray
+VLC_DEPENDENCIES += libbluray
+else
+VLC_CONF_OPTS += --disable-bluray
+endif
+
 ifeq ($(BR2_PACKAGE_LIBDVBPSI),y)
 VLC_CONF_OPTS += --enable-dvbpsi
 VLC_DEPENDENCIES += libdvbpsi