Check for a minimum PipeWire version

The backend is apparently using some stuff that wasn't in earlier headers, but
it's not clear what was introduced in which versions. 0.3.23 should work,
though it may need to be higher or it could go a bit lower.
This commit is contained in:
Chris Robinson 2022-04-27 01:25:15 -07:00
parent 514ff1d71b
commit 22e6c0df60

View File

@ -912,7 +912,7 @@ endif()
# Check PipeWire backend # Check PipeWire backend
option(ALSOFT_REQUIRE_PIPEWIRE "Require PipeWire backend" OFF) option(ALSOFT_REQUIRE_PIPEWIRE "Require PipeWire backend" OFF)
if(PkgConfig_FOUND) if(PkgConfig_FOUND)
pkg_check_modules(PIPEWIRE libpipewire-0.3) pkg_check_modules(PIPEWIRE libpipewire-0.3>=0.3.23)
if(PIPEWIRE_FOUND) if(PIPEWIRE_FOUND)
option(ALSOFT_BACKEND_PIPEWIRE "Enable PipeWire backend" ON) option(ALSOFT_BACKEND_PIPEWIRE "Enable PipeWire backend" ON)
if(ALSOFT_BACKEND_PIPEWIRE) if(ALSOFT_BACKEND_PIPEWIRE)