xref: /OK3568_Linux_fs/buildroot/package/shairport-sync/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_SHAIRPORT_SYNC
2	bool "shairport-sync"
3	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
4	depends on BR2_INSTALL_LIBSTDCPP
5	select BR2_PACKAGE_ALSA_LIB
6	select BR2_PACKAGE_ALSA_LIB_MIXER
7	select BR2_PACKAGE_LIBCONFIG
8	select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
9	select BR2_PACKAGE_POPT
10	help
11	  Shairport Sync emulates an AirPort Express for the purpose
12	  of streaming audio from iTunes, iPods, iPhones, iPads and
13	  AppleTVs.  Audio played by a Shairport Sync-powered device
14	  stays in synchrony with the source and thus with other
15	  devices that are playing the same source
16	  synchronously. Thus, for example, synchronised multi-room
17	  audio is possible without difficulty.
18
19	  https://github.com/mikebrady/shairport-sync
20
21if BR2_PACKAGE_SHAIRPORT_SYNC
22
23config BR2_PACKAGE_SHAIRPORT_SYNC_CONVOLUTION
24	bool "convolution support"
25	select BR2_PACKAGE_LIBSNDFILE
26	help
27	  Enable audio DSP convolution support.
28
29config BR2_PACKAGE_SHAIRPORT_SYNC_DBUS
30	bool "dbus support"
31	depends on BR2_USE_WCHAR # libglib2
32	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
33	depends on BR2_USE_MMU # libglib2
34	select BR2_PACKAGE_LIBGLIB2
35	help
36	  Enable support for support for the MPRIS and native
37	  Shairport Sync D-Bus interface.
38
39comment "shairport-sync dbus support needs a toolchain w/ wchar, threads"
40	depends on BR2_USE_MMU
41	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
42
43config BR2_PACKAGE_SHAIRPORT_SYNC_LIBSOXR
44	bool "libsoxr support"
45	select BR2_PACKAGE_LIBSOXR
46	help
47	  Enable support for libsoxr, the SoX Resampler library.
48
49	  Briefly, Shairport Sync keeps in step with the audio source
50	  by deleting or inserting frames of audio into the stream as
51	  needed. This "interpolation" is normally inaudible, but it
52	  can be heard in some circumstances. Libsoxr allows this
53	  interpolation to be done much more smoothly and subtly.
54
55config BR2_PACKAGE_SHAIRPORT_SYNC_MQTT
56	bool "mqtt support"
57	depends on BR2_USE_MMU # avahi
58	depends on BR2_TOOLCHAIN_HAS_THREADS # avahi
59	depends on !BR2_STATIC_LIBS # avahi
60	select BR2_PACKAGE_AVAHI
61	select BR2_PACKAGE_AVAHI_DAEMON
62	select BR2_PACKAGE_DBUS
63	select BR2_PACKAGE_MOSQUITTO
64	help
65	  Enable support for the MQTT, the Message Queuing Telemetry
66	  Transport protocol.
67
68comment "shairport-sync mqtt support needs a toolchain w/ dynamic library, threads"
69	depends on BR2_USE_MMU
70	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
71
72endif
73
74comment "shairport-sync needs a toolchain w/ C++, NPTL"
75	depends on BR2_USE_MMU
76	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL
77