]> git.99rst.org Git - openwrt-packages.git/commit
snapcast: make build options explicit and per-package deps precise
authorMirko Vogt <redacted>
Mon, 20 Jul 2026 15:20:46 +0000 (15:20 +0000)
committerMirko Vogt <redacted>
Mon, 20 Jul 2026 17:02:02 +0000 (19:02 +0200)
commit7673cd9a3ed8e2f3d7be701a367b83b1270c3256
tree374f387b0f3418de9f0892b84768315553759f7d
parentb442c043a723f7909299cfc8953d6b7a0e0e51e0
snapcast: make build options explicit and per-package deps precise

Pin every CMake BUILD_WITH_* switch and expose the optional features as
config symbols, so builds are reproducible and snapserver/snapclient
each depend only on the libraries their binary actually links (boost is
header-only and becomes a build-only dependency).

Add a patch introducing a BUILD_WITH_SOXR option: upstream looks SOXR up
with an unconditional pkg_search_module(), so resampling gets enabled
purely by whether libsoxr happens to be discoverable in the shared
staging dir - non-deterministic in a package feed. The option makes it
an explicit, REQUIRED choice (enabled-but-missing fails at configure
time instead of silently dropping the feature).

Assisted-By: Claude Opus 4.8 (1M context) <redacted>
Signed-off-by: Mirko Vogt <redacted>
sound/snapcast/Makefile
sound/snapcast/patches/010-cmake-add-build-with-soxr-option.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT