mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Update OpenAL to 1.24.1 on Windows/macOS.
This commit is contained in:
parent
7ea6c6c84b
commit
f583879aee
1 changed files with 8 additions and 6 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue