package/vlc: add optional dependency to libdvdnav

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:24 +02:00 committed by Thomas Petazzoni
parent 06a68723f3
commit a449dc1b82

View File

@ -39,7 +39,6 @@ VLC_CONF_OPTS += \
--disable-caca \
--disable-chromaprint \
--disable-dca \
--disable-dvdnav \
--disable-fluidsynth \
--disable-gles1 \
--disable-goom \
@ -206,6 +205,13 @@ else
VLC_CONF_OPTS += --disable-dvbpsi
endif
ifeq ($(BR2_PACKAGE_LIBDVDNAV),y)
VLC_CONF_OPTS += --enable-dvdnav
VLC_DEPENDENCIES += libdvdnav
else
VLC_CONF_OPTS += --disable-dvdnav
endif
ifeq ($(BR2_PACKAGE_LIBDVDREAD),y)
VLC_CONF_OPTS += --enable-dvdread
VLC_DEPENDENCIES += libdvdread