From afc90fcea48e2d23307f239801f1b6caa1926b9e Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Wed, 22 Jul 2026 12:22:41 +0000 Subject: [PATCH] snapcast: add libsoxr dependency to snapclient SNAPCAST_SOXR passes -DBUILD_WITH_SOXR, which is a build-wide CMake option: snapserver and snapclient are built from one source tree and both link libsoxr. The dependency was declared only on snapserver, so with SNAPCAST_SOXR enabled (the default) the snapclient package failed at the packaging step: Package snapclient is missing dependencies for the following libraries: libsoxr.so.0 Declare +SNAPCAST_SOXR:libsoxr on snapclient too, and relabel the option "(server + client)" so its build-wide scope is clear. Fixes: 7673cd9a ("snapcast: make build options explicit and per-package deps precise") Signed-off-by: Mirko Vogt --- sound/snapcast/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sound/snapcast/Makefile b/sound/snapcast/Makefile index 6d753b0268ef4a..b56507c2a7a83a 100644 --- a/sound/snapcast/Makefile +++ b/sound/snapcast/Makefile @@ -141,10 +141,12 @@ define Package/snapserver/config Adds a dependency on libopus. config SNAPCAST_SOXR - bool "SOXR resampling support (server)" + bool "SOXR resampling support (server + client)" default y help - Adds a dependency on libsoxr. + High-quality SoX resampling, compiled into + both binaries (build-wide -DBUILD_WITH_SOXR). + Adds a dependency on libsoxr to each. config SNAPCAST_SSL bool "SSL / TLS support" @@ -174,6 +176,7 @@ define Package/snapclient $(call Package/snapcast/Default) TITLE+= (client) DEPENDS+= \ + +SNAPCAST_SOXR:libsoxr \ +SNAPCAST_VORBIS:libvorbisidec endef