meson: fix handling of the alsa option

Option 'pipewire-alsa' is a meson feature and defaults to 'auto'. This is
different to 'disabled', so on systems where alsa's deps weren't available
we would still end up trying to build. Switch to checking alsa_dep.found()
instead.
This commit is contained in:
Peter Hutterer 2021-04-14 09:53:10 +10:00
parent 23854539fe
commit 6eb4114238

View file

@ -370,7 +370,7 @@ if not get_option('pipewire-jack').disabled()
subdir('pipewire-jack')
endif
if not get_option('pipewire-alsa').disabled()
if alsa_dep.found()
subdir('pipewire-alsa/alsa-plugins')
subdir('pipewire-alsa/conf')
endif