From 22e6c0df6017aa86e2cd83d8073e4d490c55dd11 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 27 Apr 2022 01:25:15 -0700 Subject: [PATCH] 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. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d52754c9..ea646617 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -912,7 +912,7 @@ endif() # Check PipeWire backend option(ALSOFT_REQUIRE_PIPEWIRE "Require PipeWire backend" OFF) if(PkgConfig_FOUND) - pkg_check_modules(PIPEWIRE libpipewire-0.3) + pkg_check_modules(PIPEWIRE libpipewire-0.3>=0.3.23) if(PIPEWIRE_FOUND) option(ALSOFT_BACKEND_PIPEWIRE "Enable PipeWire backend" ON) if(ALSOFT_BACKEND_PIPEWIRE) -- 2.11.4.GIT