package/shairport-sync: add support for AirPlay2

This patch adds the dependencies necessary to enable the newer version
of shairplay-sync support for the AirPlay2 protocol.

Signed-off-by: Trammell Hudson <hudson@trmm.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Trammell Hudson
2025-10-25 13:06:10 -06:00
committed by Thomas Petazzoni
parent 8df8272281
commit 1abaf013de
2 changed files with 21 additions and 0 deletions

View File

@@ -26,6 +26,19 @@ config BR2_PACKAGE_SHAIRPORT_SYNC_CONVOLUTION
help
Enable audio DSP convolution support.
config BR2_PACKAGE_SHAIRPORT_SYNC_AIRPLAY2
bool "AirPlay2 support"
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

View File

@@ -53,6 +53,14 @@ else
SHAIRPORT_SYNC_CONF_OPTS += --without-convolution
endif
ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_AIRPLAY2),y)
# host-vim needed for xxd
SHAIRPORT_SYNC_DEPENDENCIES += libplist libsodium libgcrypt ffmpeg util-linux host-vim
SHAIRPORT_SYNC_CONF_OPTS += --with-airplay-2
else
SHAIRPORT_SYNC_CONF_OPTS += --without-airplay-2
endif
ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_DBUS),y)
SHAIRPORT_SYNC_DEPENDENCIES += libglib2
SHAIRPORT_SYNC_CONF_OPTS += --with-dbus-interface --with-mpris-interface