ports/SDL2: disable static lib and enable semaphores

Also add libiconv as a dep so SDL_iconv_string etc works
This commit is contained in:
Bananymous 2025-12-28 15:30:02 +02:00
parent 0421fbdc25
commit efdbd1576f
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
NAME='SDL2'
VERSION='2.32.8'
DOWNLOAD_URL="https://github.com/libsdl-org/SDL/releases/download/release-$VERSION/SDL2-$VERSION.tar.gz#0ca83e9c9b31e18288c7ec811108e58bac1f1bb5ec6577ad386830eac51c787e"
DEPENDENCIES=('mesa')
DEPENDENCIES=('mesa' 'libiconv')
configure() {
$BANAN_CMAKE --fresh -S . -B build -G Ninja \
@ -11,7 +11,7 @@ configure() {
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_BUILD_TYPE=Release \
-DSDL_LIBSAMPLERATE=OFF \
-DSDL_PTHREADS_SEM=OFF \
-DSDL_STATIC=OFF \
|| exit 1
}