Fix pipewire version check in openal

This commit is contained in:
Ilya Fedin 2022-06-24 19:50:02 +04:00 committed by John Preston
parent 263ac2eb71
commit 1c98399c6f
1 changed files with 1 additions and 0 deletions

View File

@ -439,6 +439,7 @@ COPY --from=pipewire ${LibrariesPath}/pipewire-cache /
RUN git clone -b 1.22.1 --depth=1 $GIT/kcat/openal-soft.git \
&& cd openal-soft \
&& sed -i 's@PW_CHECK_VERSION(major, minor, revision)@!PW_CHECK_VERSION(major, minor, revision + 1)@' alc/backends/pipewire.cpp \
&& CFLAGS="$HFLAGS" CXXFLAGS="$HFLAGS" cmake -GNinja -B build . \
-DCMAKE_BUILD_TYPE=Release \
-DLIBTYPE:STRING=STATIC \