config BR2_PACKAGE_JACK2
	bool "jack2"
	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
	depends on BR2_USE_MMU # fork()
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_ARCH_HAS_ATOMICS
	depends on !BR2_STATIC_LIBS
	select BR2_PACKAGE_LIBSAMPLERATE
	select BR2_PACKAGE_LIBSNDFILE
	select BR2_PACKAGE_ALSA_LIB
	select BR2_PACKAGE_ALSA_LIB_HWDEP
	select BR2_PACKAGE_ALSA_LIB_SEQ
	select BR2_PACKAGE_ALSA_LIB_RAWMIDI
	help
	  JACK Audio Connection Kit (server and example clients).

	  JACK is a low-latency sound server, allowing multiple
	  applications to connect to one audio device, and to share
	  audio between themselves. This package contains the daemon
	  jackd as well as some example clients.

	  http://jackaudio.org/

comment "jack2 needs a toolchain w/ threads, C++, dynamic library"
	depends on BR2_USE_MMU
	depends on BR2_ARCH_HAS_ATOMICS
	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
		BR2_STATIC_LIBS
