mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
Ports: Disable libsamplerate dependency for SDL2
On Arch Linux, the build was picking up the system libsamplerate, which is undesirable. Unlikely that it is needed on Serenity, so disabling it is a good workaround.
This commit is contained in:
parent
e388d13c05
commit
adf85c719a
Notes:
sideshowbarker
2024-07-17 07:39:01 +09:00
Author: https://github.com/vkoskiv Commit: https://github.com/SerenityOS/serenity/commit/adf85c719a Pull-request: https://github.com/SerenityOS/serenity/pull/15010 Reviewed-by: https://github.com/linusg
@ -4,7 +4,13 @@ version='2.24.0'
|
||||
useconfigure='true'
|
||||
auth_type='sha256'
|
||||
files="https://github.com/libsdl-org/SDL/releases/download/release-${version}/SDL2-${version}.tar.gz SDL2-${version}.tar.gz 91e4c34b1768f92d399b078e171448c6af18cafda743987ed2064a28954d6d97"
|
||||
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt" "-DPULSEAUDIO=OFF" "-DJACK=OFF" "-DEXTRA_LDFLAGS=-laudio;-liconv;-ldl")
|
||||
configopts=(
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
"-DPULSEAUDIO=OFF"
|
||||
"-DJACK=OFF"
|
||||
"-DSDL_LIBSAMPLERATE=OFF" # Disabled to prevent potential collision with host libsamplerate
|
||||
"-DEXTRA_LDFLAGS=-laudio;-liconv;-ldl"
|
||||
)
|
||||
depends=("libiconv")
|
||||
|
||||
configure() {
|
||||
|
Loading…
Reference in New Issue
Block a user