mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
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) <noreply@anthropic.com> Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>