mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Ports/libopenal: Build with SDL2 backend, and disable example programs
This patch fixes libopenal's build by disabling the alsoft-config utility which required qt6, and disabling the example programs that were causing compiler errors. This also forces CMake to build with an SDL2 backend so audio can actually be played.
This commit is contained in:
parent
f872d945c3
commit
fea43a647f
Notes:
sideshowbarker
2024-07-17 05:20:24 +09:00
Author: https://github.com/cflip Commit: https://github.com/SerenityOS/serenity/commit/fea43a647f Pull-request: https://github.com/SerenityOS/serenity/pull/15622 Reviewed-by: https://github.com/gmta ✅ Reviewed-by: https://github.com/linusg ✅
1 changed files with 8 additions and 2 deletions
|
@ -3,8 +3,14 @@ port=libopenal
|
|||
useconfigure=true
|
||||
version=1.21.1
|
||||
workdir="openal-soft-${version}"
|
||||
depends=("ffmpeg")
|
||||
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
||||
depends=('SDL2')
|
||||
configopts=(
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
'-DALSOFT_NO_CONFIG_UTIL=ON'
|
||||
'-DALSOFT_EXAMPLES=ON'
|
||||
'-DHAVE_SDL2=1'
|
||||
'-DALSOFT_BACKEND_SDL2=ON'
|
||||
)
|
||||
files="https://openal-soft.org/openal-releases/openal-soft-${version}.tar.bz2 openal-soft-${version}.tar.bz2 c8ad767e9a3230df66756a21cc8ebf218a9d47288f2514014832204e666af5d8"
|
||||
auth_type=sha256
|
||||
|
||||
|
|
Loading…
Reference in a new issue