diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index c67169fd0..cb252f79d 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -1367,25 +1367,27 @@ depends:yasm/yasm """) stage('openal-soft', """ -version: 3 -win: - git clone -b wasapi_exact_device_time https://github.com/telegramdesktop/openal-soft.git + git clone https://github.com/telegramdesktop/openal-soft.git cd openal-soft + git checkout 5e9429354d +win: cmake -B build . ^ -A %WIN32X64% ^ -D LIBTYPE:STRING=STATIC ^ - -D FORCE_STATIC_VCRT=ON + -D FORCE_STATIC_VCRT=ON ^ + -D ALSOFT_UTILS=OFF ^ + -D ALSOFT_EXAMPLES=OFF ^ + -D ALSOFT_TESTS=OFF cmake --build build --config Debug --parallel release: cmake --build build --config RelWithDebInfo --parallel mac: - git clone -b coreaudio_device_uid https://github.com/telegramdesktop/openal-soft.git - cd openal-soft CFLAGS=$UNGUARDED CPPFLAGS=$UNGUARDED cmake -B build . \\ -D CMAKE_BUILD_TYPE=RelWithDebInfo \\ -D CMAKE_INSTALL_PREFIX:PATH=$USED_PREFIX \\ -D ALSOFT_EXAMPLES=OFF \\ -D ALSOFT_UTILS=OFF \\ + -D ALSOFT_TESTS=OFF \\ -D LIBTYPE:STRING=STATIC \\ -D CMAKE_OSX_DEPLOYMENT_TARGET:STRING=$MACOSX_DEPLOYMENT_TARGET \\ -D CMAKE_OSX_ARCHITECTURES="x86_64;arm64"