redox/recipes/wip/libs/sdl/sdl3/recipe.toml
2026-10-12 16:58:46 -03:00

29 lines
759 B
TOML

#TODO not compiled or tested
#TODO determine minimum dependencies from the cmake log
# build instructions: https://github.com/libsdl-org/SDL/blob/main/docs/README-cmake.md
# dependencies: https://github.com/libsdl-org/SDL/blob/main/docs/README-linux.md
[source]
git = "https://gitlab.redox-os.org/redox-os/sdl3.git"
branch = "redox-3.4.10"
[build]
template = "cmake"
cmakeflags = [
"-DSDL_DBUS=OFF",
"-DSDL_DISABLE_INSTALL_DOCS=ON",
"-DSDL_IBUS=OFF",
"-DSDL_LIBUDEV=OFF",
"-DSDL_LIBURING=OFF",
"-DSDL_OPENGL=OFF",
"-DSDL_OPENGLES=OFF",
"-DSDL_SHARED=ON",
"-DSDL_STATIC=OFF",
"-DSDL_TEST_LIBRARY=OFF",
#TODO: orbital support
"-DSDL_UNIX_CONSOLE_BUILD=ON",
]
#dependencies = [
# "liborbital",
# "mesa",
#]