mirror of
https://github.com/86Box/86Box.git
synced 2025-01-22 09:11:50 -05:00
Jenkins: Fix openal-soft prefix
This commit is contained in:
parent
3cb6e8d9aa
commit
8493bde039
1 changed files with 6 additions and 5 deletions
11
.ci/build.sh
11
.ci/build.sh
|
@ -951,16 +951,17 @@ else
|
|||
then
|
||||
# Build openal-soft 1.22.2 manually to fix audio issues. This is a temporary
|
||||
# workaround until a newer version of openal-soft trickles down to Debian repos.
|
||||
prefix="$cache_dir/openal-soft-1.22.2-pwpatch"
|
||||
prefix="$cache_dir/openal-soft-1.22.2"
|
||||
if [ ! -d "$prefix" ]
|
||||
then
|
||||
rm -rf "$cache_dir/openal-soft-"* # remove old versions
|
||||
wget -qO - https://github.com/kcat/openal-soft/archive/refs/tags/1.22.2.tar.gz | tar zxf - -C "$cache_dir" || rm -rf "$prefix"
|
||||
|
||||
# Patches to build with the old PipeWire version in Debian.
|
||||
sed -i -e 's/>=0.3.23//' "$prefix/CMakeLists.txt"
|
||||
sed -i -e 's/PW_KEY_CONFIG_NAME/"config.name"/g' "$prefix/alc/backends/pipewire.cpp"
|
||||
fi
|
||||
|
||||
# Patches to build with the old PipeWire version in Debian.
|
||||
sed -i -e 's/>=0.3.23//' "$prefix/CMakeLists.txt"
|
||||
sed -i -e 's/PW_KEY_CONFIG_NAME/"config.name"/g' "$prefix/alc/backends/pipewire.cpp"
|
||||
|
||||
prefix_build="$prefix/build-$arch_deb"
|
||||
cmake -G Ninja -D "CMAKE_TOOLCHAIN_FILE=$toolchain_file" -D "CMAKE_INSTALL_PREFIX=$cwd_root/archive_tmp/usr" -S "$prefix" -B "$prefix_build" || exit 99
|
||||
cmake --build "$prefix_build" -j$(nproc) || exit 99
|
||||
|
|
Loading…
Reference in a new issue