shairport-sync: Enable pipe audio backend support
authorDavid Andreoletti <david@andreoletti.net>
Tue, 19 Dec 2023 03:33:05 +0000 (11:33 +0800)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Fri, 5 Jan 2024 20:41:35 +0000 (21:41 +0100)
UCI's shairport-sync's pipe conf block is defined but has no effect without shairport-sync's pipe support

Rationale for pipe support:
- On SBC with no sound card available (built-in or external)
  and without ALSA plugins support on OpenwRT (no package)
  to reroute a stream from shairport-sync's ALSA default output
  to a PulseAudio controlled Bluetooth sink , then pipe support
  is required to enable the following flow:
  - shairport-sync -> fifo pipe -> custom_binary_to_send_stream_to_pulse_audio_BT_sink
- small bump in package size: diff: +746 bytes
  - shairport-sync-openssl_4.3.2-0_aarch64_generic.ipk without --pipe: 110806 bytes
  - shairport-sync-openssl_4.3.2-0_aarch64_generic.ipk with --pipe: 111552 bytes

Signed-off-by: David Andreoletti <david@andreoletti.net>
sound/shairport-sync/Makefile

index 3d8786ab6956343303213a45975786042725250d..8a490b98332f846e84f1a7d070e5fa645084697b 100644 (file)
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=shairport-sync
 PKG_VERSION:=4.3.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/mikebrady/shairport-sync/tar.gz/$(PKG_VERSION)?
@@ -79,6 +79,7 @@ CONFIGURE_ARGS += \
        --with-alsa \
        --with-libdaemon \
        --with-airplay-2 \
+       --with-pipe \
        --with-metadata
 
 ifeq ($(BUILD_VARIANT),openssl)