package/vlc: add optional dependency to gst1-plugins-base

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:26 +02:00 committed by Thomas Petazzoni
parent 7dd64181d0
commit 74255f8339

View File

@ -59,7 +59,6 @@ VLC_CONF_OPTS += \
--disable-fluidsynth \
--disable-gme \
--disable-goom \
--disable-gst-decode \
--disable-harfbuzz \
--disable-jack \
--disable-jpeg \
@ -181,6 +180,13 @@ else
VLC_CONF_OPTS += --disable-freerdp
endif
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BASE),y)
VLC_CONF_OPTS += --enable-gst-decode
VLC_DEPENDENCIES += gst1-plugins-base
else
VLC_CONF_OPTS += --disable-gst-decode
endif
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
VLC_DEPENDENCIES += libgl
endif