alsa: meson options and missing dependencies are a bit confusing
When I tried to configure the project for the first time, it failed as I was not having the required version (1.1.7) of alsa dev but found 1.1.3 on my system ubuntu 18.04.
So I noticed the option -Dpipewire-alsa=false
and the configure stage passed. But its a bit confusing seen that the spa plugin is not checking the version number and to disable it I have to call -Dalsa=false.
I would recommend to have different variable name for alsa deps and check and enable the spa plugins inside the plugin meson.build
I noticed the same issue with jack
where I needed to disable the both -Dpipewire-jack
and -Djack
if I dont want to install the dev package.
If the requirements are not fulfilled(package or version), we should disable the feature and continue the configure, except if the options is clearly enabled, dont you think ?
Concerning the spa plugins, we could follow the GStreamer policy of if dep=ok then plugin is built
and have make a sort of summary at the end of the configure.