package/libplist: add host variant
PATCH 1/2 package/libplist: add host variant
From: Yegor Yefremov <[email protected]>
shairport-sync 5.6 needs plistutil on the host to build with AirPlay 2 support. libplist builds its tools by default.
--- package/libplist/libplist.mk | 2 ++ 1 file changed, 2 insertions(+)
package/libplist/libplist.mk +2 -0
@@ -15,5 +15,7 @@ LIBPLIST_CPE_ID_VENDOR = libimobiledevice # Disable building Python bindings, because it requires host-cython, which # is not packaged in Buildroot at all. LIBPLIST_CONF_OPTS = --without-cython +HOST_LIBPLIST_CONF_OPTS = --without-cython $(eval $(autotools-package)) +$(eval $(host-autotools-package))
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/2 package/shairport-sync: bump to version 5.6
From: Yegor Yefremov <[email protected]>
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.
--- package/shairport-sync/shairport-sync.hash | 4 ++-- package/shairport-sync/shairport-sync.mk | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 5 deletions(-)
package/shairport-sync/shairport-sync.hash +2 -2
@@ -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
package/shairport-sync/shairport-sync.mk +13 -3
@@ -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
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 7 lines · Yegor Yefremov
From: Yegor Yefremov <[email protected]>
shairport-sync 5.6 needs plistutil on the host to build with AirPlay 2 support. libplist builds its tools by default.
Signed-off-by Yegor Yefremov <[email protected]>Assisted-by Claude:claude-opus-5-5
Series applied to master, thanks!
Best regards,
Thomas Petazzoni
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot