config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BLUEZ
bool "bluez"
- depends on !BR2_STATIC_LIBS # bluez_utils
- depends on BR2_USE_WCHAR # bluez_utils
- depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils
- depends on BR2_USE_MMU # bluez_utils
- select BR2_PACKAGE_BLUEZ_UTILS
+ depends on BR2_USE_WCHAR # bluez5_utils -> libglib2
+ depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, libglib2
+ depends on BR2_USE_MMU # bluez5_utils -> dbus
+ depends on !BR2_STATIC_LIBS # bluez5_utils -> uses dlfcn
+ depends on !BR2_PACKAGE_BLUEZ_UTILS # bluez5_utils -> conflicts with 4.x version
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils
+ select BR2_PACKAGE_BLUEZ5_UTILS
help
Bluetooth audio A2DP/AVDTP sink, AVDTP source plugin
-comment "bluez plugin needs a toolchain w/ wchar, threads, dynamic library"
+comment "bluez plugin needs a toolchain w/ wchar, threads, headers >= 3.4, dynamic library"
+ depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+ !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on BR2_USE_MMU
- depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
+
+comment "bluez plugin conflicts with older bluez-utils version"
+ depends on BR2_PACKAGE_BLUEZ_UTILS
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2
bool "bz2"