mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-27 07:14:18 +08:00
31 lines
603 B
TOML
31 lines
603 B
TOML
[source]
|
|
tar = "https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-2.0.15.tar.gz"
|
|
blake3 = "9814a07f33a3501b414f0fc7fa962e7d7ffc56748406f3798b7698b8d7e7fe12"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
./autogen.sh
|
|
"""
|
|
|
|
[build]
|
|
dependencies = [
|
|
"expat",
|
|
"freetype2",
|
|
"libdrm",
|
|
"liborbital",
|
|
"libpng",
|
|
"llvm18",
|
|
"mesa",
|
|
"sdl2",
|
|
"zlib",
|
|
]
|
|
template = "custom"
|
|
script = """
|
|
DYNAMIC_INIT
|
|
export SDL_LIBS="-lSDL2 -lorbital $("${PKG_CONFIG}" --libs osmesa) -lpng -lz -lm -lpthread -lstdc++"
|
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
|
--disable-sdltest
|
|
--enable-opengl
|
|
)
|
|
cookbook_configure
|
|
"""
|