Files
buildroot/package/shairport-sync/Config.in
Thomas Petazzoni 7d3d5c68a2 package/shairport-sync: propagate dependencies
In commit
1abaf013de ("package/shairport-sync: add
support for AirPlay2"), a new option was added, selecting various
packages, without properly propagating their dependencies, causing
Config.in warnings such as:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_LIBGCRYPT
  Depends on [n]: BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS [=n]
  Selected by [y]:
  - BR2_PACKAGE_SHAIRPORT_SYNC_AIRPLAY2 [=y] && BR2_PACKAGE_SHAIRPORT_SYNC [=y]

This commit fixes this mistake.

Fixes: 1abaf013de ("package/shairport-sync: add support for AirPlay2")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-01-04 14:00:23 +01:00

93 lines
3.1 KiB
Plaintext

config BR2_PACKAGE_SHAIRPORT_SYNC
bool "shairport-sync"
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on BR2_INSTALL_LIBSTDCPP
select BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_ALSA_LIB_MIXER
select BR2_PACKAGE_LIBCONFIG
select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
select BR2_PACKAGE_POPT
help
Shairport Sync emulates an AirPort Express for the purpose
of streaming audio from iTunes, iPods, iPhones, iPads and
AppleTVs. Audio played by a Shairport Sync-powered device
stays in synchrony with the source and thus with other
devices that are playing the same source
synchronously. Thus, for example, synchronised multi-room
audio is possible without difficulty.
https://github.com/mikebrady/shairport-sync
if BR2_PACKAGE_SHAIRPORT_SYNC
config BR2_PACKAGE_SHAIRPORT_SYNC_CONVOLUTION
bool "convolution support"
select BR2_PACKAGE_LIBSNDFILE
help
Enable audio DSP convolution support.
config BR2_PACKAGE_SHAIRPORT_SYNC_AIRPLAY2
bool "AirPlay2 support"
depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt
depends on BR2_USE_MMU # nqptp
depends on BR2_PACKAGE_FFMPEG_ARCH_SUPPORTS # ffmpeg
select BR2_PACKAGE_NQPTP # runtime
select BR2_PACKAGE_LIBPLIST
select BR2_PACKAGE_LIBSODIUM
select BR2_PACKAGE_LIBGCRYPT
select BR2_PACKAGE_FFMPEG
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
Enable support for the more modern AirPlay2 protocol.
This will also require ffmpeg and many other libraries.
config BR2_PACKAGE_SHAIRPORT_SYNC_DBUS
bool "dbus support"
depends on BR2_USE_WCHAR # libglib2
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
depends on BR2_USE_MMU # libglib2
select BR2_PACKAGE_LIBGLIB2
help
Enable support for support for the MPRIS and native
Shairport Sync D-Bus interface.
comment "shairport-sync dbus support needs a toolchain w/ wchar, threads"
depends on BR2_USE_MMU
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_SHAIRPORT_SYNC_LIBSOXR
bool "libsoxr support"
select BR2_PACKAGE_LIBSOXR
help
Enable support for libsoxr, the SoX Resampler library.
Briefly, Shairport Sync keeps in step with the audio source
by deleting or inserting frames of audio into the stream as
needed. This "interpolation" is normally inaudible, but it
can be heard in some circumstances. Libsoxr allows this
interpolation to be done much more smoothly and subtly.
config BR2_PACKAGE_SHAIRPORT_SYNC_MQTT
bool "mqtt support"
depends on BR2_USE_MMU # avahi
depends on BR2_TOOLCHAIN_HAS_THREADS # avahi
depends on !BR2_STATIC_LIBS # avahi
select BR2_PACKAGE_AVAHI
select BR2_PACKAGE_AVAHI_DAEMON
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_MOSQUITTO
help
Enable support for the MQTT, the Message Queuing Telemetry
Transport protocol.
comment "shairport-sync mqtt support needs a toolchain w/ dynamic library, threads"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
endif
comment "shairport-sync needs a toolchain w/ C++, NPTL"
depends on BR2_USE_MMU
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL