From 74255f8339cbe3106ede9eb145ca18d698c6cfc5 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 12 Aug 2018 22:29:26 +0200 Subject: [PATCH] package/vlc: add optional dependency to gst1-plugins-base Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/vlc/vlc.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/vlc/vlc.mk b/package/vlc/vlc.mk index 91e96516ac..6643d6fd8d 100644 --- a/package/vlc/vlc.mk +++ b/package/vlc/vlc.mk @@ -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 -- 2.30.2