1config BR2_PACKAGE_JACK2
2	bool "jack2"
3	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
4	depends on BR2_USE_MMU # fork()
5	depends on BR2_INSTALL_LIBSTDCPP
6	depends on !BR2_STATIC_LIBS
7	depends on BR2_TOOLCHAIN_HAS_SYNC_4
8	select BR2_PACKAGE_ALSA_LIB
9	select BR2_PACKAGE_ALSA_LIB_HWDEP
10	select BR2_PACKAGE_ALSA_LIB_SEQ
11	select BR2_PACKAGE_ALSA_LIB_RAWMIDI
12	# Ensure we get at least one:
13	select BR2_PACKAGE_JACK2_LEGACY if !BR2_PACKAGE_JACK2_DBUS
14	help
15	  JACK Audio Connection Kit (server and example clients).
16
17	  JACK is a low-latency sound server, allowing multiple
18	  applications to connect to one audio device, and to share
19	  audio between themselves. This package contains the daemon
20	  jackd as well as some example clients.
21
22	  http://jackaudio.org/
23
24if BR2_PACKAGE_JACK2
25
26config BR2_PACKAGE_JACK2_LEGACY
27	bool "classic jack2"
28	help
29	  Build and use jackd.
30
31	  https://github.com/jackaudio/jackaudio.github.com/wiki/JACK-DBus-packaging
32
33config BR2_PACKAGE_JACK2_DBUS
34	bool "dbus jack2"
35	depends on BR2_USE_WCHAR # dbus-python, python
36	select BR2_PACKAGE_DBUS
37	select BR2_PACKAGE_DBUS_PYTHON
38	select BR2_PACKAGE_PYTHON3 # runtime
39	select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime
40	help
41	  Build and use jackdbus.
42
43	  https://github.com/jackaudio/jackaudio.github.com/wiki/JACK-DBus-packaging
44
45endif
46
47comment "jack2 needs a toolchain w/ threads, C++, dynamic library"
48	depends on BR2_USE_MMU
49	depends on BR2_TOOLCHAIN_HAS_SYNC_4
50	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
51		BR2_STATIC_LIBS
52