spa: alsa: allow building without UMP in libalsa

Allow building with older libalsa releases that don't have UMP.
This commit is contained in:
Nikolay Borodin 2025-03-09 18:52:49 +02:00 committed by P V
parent 9bc29b4b37
commit 6620c6cde1
4 changed files with 66 additions and 3 deletions

View file

@ -481,7 +481,7 @@ endif
summary({'intl support': libintl_dep.found()}, bool_yn: true)
need_alsa = get_option('pipewire-alsa').enabled() or 'media-session' in get_option('session-managers')
alsa_dep = dependency('alsa', version : '>=1.2.10', required: need_alsa)
alsa_dep = dependency('alsa', version : '>=1.2.6', required: need_alsa)
summary({'pipewire-alsa': alsa_dep.found()}, bool_yn: true)
if host_machine.system() == 'freebsd' or host_machine.system() == 'midnightbsd'