package/vlc: add optional dependency to libdvdread

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

View File

@ -206,6 +206,13 @@ else
VLC_CONF_OPTS += --disable-dvbpsi VLC_CONF_OPTS += --disable-dvbpsi
endif endif
ifeq ($(BR2_PACKAGE_LIBDVDREAD),y)
VLC_CONF_OPTS += --enable-dvdread
VLC_DEPENDENCIES += libdvdread
else
VLC_CONF_OPTS += --disable-dvdread
endif
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y) ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
VLC_CONF_OPTS += --enable-libgcrypt VLC_CONF_OPTS += --enable-libgcrypt
VLC_DEPENDENCIES += libgcrypt VLC_DEPENDENCIES += libgcrypt