From: Bernd Kuhls Date: Sun, 12 Aug 2018 20:29:23 +0000 (+0200) Subject: package/vlc: add optional dependency to libdvdread X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06a68723f3566af6866bb955d1139d9f42dfe94d;p=buildroot.git package/vlc: add optional dependency to libdvdread Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index 9e1dc6b92e..928b3fabb8 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -206,6 +206,13 @@ else VLC_CONF_OPTS += --disable-dvbpsi 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) VLC_CONF_OPTS += --enable-libgcrypt VLC_DEPENDENCIES += libgcrypt