comment "gdkpixbuf needs a toolchain w/ wchar, threads"
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_JACK
+ bool "jack"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on !BR2_STATIC_LIBS
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4
+ select BR2_PACKAGE_JACK2
+ help
+ JACK audio source/sink plugin
+
+comment "jack needs a toolchain w/ C++, dynamic library"
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4
+ depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS
+
config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE
bool "pulseaudio"
depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
GST1_PLUGINS_GOOD_DEPENDENCIES = gstreamer1 gst1-plugins-base
-ifeq ($(BR2_PACKAGE_JACK2),y)
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_JACK),y)
GST1_PLUGINS_GOOD_CONF_OPTS += --enable-jack
GST1_PLUGINS_GOOD_DEPENDENCIES += jack2
else