Browse Source

package/vlc: add optional dependency to libnfs

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Bernd Kuhls 7 years ago
parent
commit
02091bcc25
1 changed files with 7 additions and 1 deletions
  1. 7 1
      package/vlc/vlc.mk

+ 7 - 1
package/vlc/vlc.mk

@@ -71,7 +71,6 @@ VLC_CONF_OPTS += \
 	--disable-mmal \
 	--disable-mpg123 \
 	--disable-mtp \
-	--disable-nfs \
 	--disable-notify \
 	--disable-projectm \
 	--disable-schroedinger \
@@ -311,6 +310,13 @@ else
 VLC_CONF_OPTS += --disable-libmpeg2
 endif
 
+ifeq ($(BR2_PACKAGE_LIBNFS),y)
+VLC_CONF_OPTS += --enable-nfs
+VLC_DEPENDENCIES += libnfs
+else
+VLC_CONF_OPTS += --disable-nfs
+endif
+
 ifeq ($(BR2_PACKAGE_LIBPNG),y)
 VLC_CONF_OPTS += --enable-png
 VLC_DEPENDENCIES += libpng