From 48e8a1f041190e38fb00750ecda0b52357153ad3 Mon Sep 17 00:00:00 2001 From: Yegor Yefremov Date: Wed, 14 Oct 2026 16:19:57 +0200 Subject: [PATCH] package/shairport-sync: bump to version 5.6 Release notes: https://github.com/mikebrady/shairport-sync/releases/tag/5.6 This version adds support for Mbed TLS 4.x. Classic AirPlay now needs an ALAC decoder to be selected. FFmpeg is enabled by default, and the bundled Hammerton decoder, which older versions always used, is now optional. Use FFmpeg if it is available and fall back to the Hammerton decoder otherwise, so that existing configurations keep building. AirPlay 2 support now needs plistutil on the host, so depend on host-libplist. The LICENSES file now also lists the bundled FFTConvolver (MIT) and pair_ap (MIT, BSD-3-Clause) code, and other copyright notices were updated. Signed-off-by: Yegor Yefremov Assisted-by: Claude:claude-opus-5-5 Signed-off-by: Thomas Petazzoni --- package/shairport-sync/shairport-sync.hash | 4 ++-- package/shairport-sync/shairport-sync.mk | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/package/shairport-sync/shairport-sync.hash b/package/shairport-sync/shairport-sync.hash index dc7c7eee5b..1eafe03b53 100644 --- a/package/shairport-sync/shairport-sync.hash +++ b/package/shairport-sync/shairport-sync.hash @@ -1,3 +1,3 @@ # Locally calculated -sha256 a1242d100b61fe1fffbbf706e919ed51d6a341c9fb8293fb42046e32ae2b3338 shairport-sync-4.3.7.tar.gz -sha256 1daaa904985807b7f9f2fa91f6b19f3faadf8df4e813f7451a691f89a6965e3f LICENSES +sha256 20271e220e859b8f60a707597187564d3bda7dbf69dd61aa1357ec1656285246 shairport-sync-5.6.tar.gz +sha256 5ffb12379c3293e48010d0ed04185940e107b54e48b520d58d847da53a153c33 LICENSES diff --git a/package/shairport-sync/shairport-sync.mk b/package/shairport-sync/shairport-sync.mk index a792e461ef..7fd1a23eb3 100644 --- a/package/shairport-sync/shairport-sync.mk +++ b/package/shairport-sync/shairport-sync.mk @@ -4,7 +4,7 @@ # ################################################################################ -SHAIRPORT_SYNC_VERSION = 4.3.7 +SHAIRPORT_SYNC_VERSION = 5.6 SHAIRPORT_SYNC_SITE = $(call github,mikebrady,shairport-sync,$(SHAIRPORT_SYNC_VERSION)) SHAIRPORT_SYNC_LICENSE = MIT, BSD-3-Clause @@ -54,13 +54,23 @@ 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 +# host-libplist needed for plistutil, host-vim needed for xxd +SHAIRPORT_SYNC_DEPENDENCIES += libplist libsodium libgcrypt ffmpeg util-linux \ + host-libplist host-vim SHAIRPORT_SYNC_CONF_OPTS += --with-airplay-2 else SHAIRPORT_SYNC_CONF_OPTS += --without-airplay-2 endif +# Classic AirPlay needs an ALAC decoder: FFmpeg if available, otherwise +# the bundled Hammerton decoder (always built in before 5.6). +ifeq ($(BR2_PACKAGE_FFMPEG),y) +SHAIRPORT_SYNC_DEPENDENCIES += ffmpeg +SHAIRPORT_SYNC_CONF_OPTS += --with-ffmpeg --without-hammerton +else +SHAIRPORT_SYNC_CONF_OPTS += --without-ffmpeg --with-hammerton +endif + ifeq ($(BR2_PACKAGE_SHAIRPORT_SYNC_DBUS),y) SHAIRPORT_SYNC_DEPENDENCIES += libglib2 SHAIRPORT_SYNC_CONF_OPTS += --with-dbus-interface --with-mpris-interface