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>
This commit is contained in:
Bernd Kuhls 2018-08-12 22:29:29 +02:00 committed by Thomas Petazzoni
parent 7f46d614d2
commit 02091bcc25

View File

@ -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