[Buildroot] [PATCH 5/5] package/gstreamer1/gst1-plugins-bad: add fluidsynth option
Fabrice Fontaine
fontaine.fabrice at gmail.com
Fri Jan 10 22:02:39 UTC 2020
Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
---
package/gstreamer1/gst1-plugins-bad/Config.in | 13 +++++++++++++
.../gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk | 8 +++++++-
2 files changed, 20 insertions(+), 1 deletion(-)
diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
index 393950ef2f..d831f8072e 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -397,6 +397,19 @@ comment "fdk-aac needs a toolchain w/ C++"
depends on BR2_PACKAGE_FDK_AAC_ARCH_SUPPORTS
depends on !BR2_INSTALL_LIBSTDCPP
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FLUIDSYNTH
+ bool "fluidsynth"
+ depends on BR2_USE_WCHAR # fluidsynth
+ depends on BR2_TOOLCHAIN_HAS_THREADS # fluidsynth
+ depends on BR2_USE_MMU # fluidsynth
+ select BR2_PACKAGE_FLUIDSYNTH
+ help
+ Fluidsynth MIDI decoder plugin
+
+comment "fluidsynth needs a toolchain w/ threads, wchar"
+ depends on BR2_USE_MMU
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL
bool "gl"
default y
diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
index 259f00cdbb..ef36e4dc0a 100644
--- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
+++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
@@ -42,7 +42,6 @@ GST1_PLUGINS_BAD_CONF_OPTS += \
-Dfaac=disabled \
-Dflite=disabled \
-Dgsm=disabled \
- -Dfluidsynth=disabled \
-Dkate=disabled \
-Dladspa=disabled \
-Dlv2=disabled \
@@ -526,6 +525,13 @@ else
GST1_PLUGINS_BAD_CONF_OPTS += -Dfdkaac=disabled
endif
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_FLUIDSYNTH),y)
+GST1_PLUGINS_BAD_CONF_OPTS += -Dfluidsynth=enabled
+GST1_PLUGINS_BAD_DEPENDENCIES += fluidsynth
+else
+GST1_PLUGINS_BAD_CONF_OPTS += -Dfluidsynth=disabled
+endif
+
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_GL),y)
GST1_PLUGINS_BAD_CONF_OPTS += -Dgl=enabled
else
--
2.24.1
More information about the buildroot
mailing list