Skip to content

Commit 9edcb61

Browse files
committed
add libsdl
1 parent 406de7b commit 9edcb61

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build-ffmpeg

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,15 @@ CONFIGURE_OPTIONS+=("--enable-libwebp")
488488
## other library
489489
##
490490

491+
if build "libsdl"; then
492+
download "https://www.libsdl.org/release/SDL2-2.0.12.tar.gz"
493+
execute ./configure --prefix="${WORKSPACE}" --disable-shared --enable-static
494+
execute make -j $MJOBS
495+
execute make install
496+
497+
build_done "libsdl"
498+
fi
499+
491500
if build "srt"; then
492501
download "https://github.com/Haivision/srt/archive/v1.4.1.tar.gz" "srt-1.4.1.tar.gz"
493502
export OPENSSL_ROOT_DIR="${WORKSPACE}"

0 commit comments

Comments
 (0)