(Linux) Added checks that SDL is configured with PipeWire support when building the AppImage.

This commit is contained in:
Leon Styhre 2023-01-31 18:44:45 +01:00
parent 960677d9b1
commit f5b4356444
2 changed files with 42 additions and 28 deletions

View file

@ -84,6 +84,13 @@ EOF
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -S .. -B .
if [ $(grep PKG_PIPEWIRE_VERSION:INTERNAL= CMakeCache.txt) = "PKG_PIPEWIRE_VERSION:INTERNAL=" ]; then
echo
echo -e "The SDL library is not configured with PipeWire support, aborting."
exit
fi
make -j${JOBS}
cd ../../..
else

View file

@ -80,6 +80,13 @@ EOF
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -S .. -B .
if [ $(grep PKG_PIPEWIRE_VERSION:INTERNAL= CMakeCache.txt) = "PKG_PIPEWIRE_VERSION:INTERNAL=" ]; then
echo
echo -e "The SDL library is not configured with PipeWire support, aborting."
exit
fi
make -j${JOBS}
cd ../../..
else