redox/recipes/wip/libs/sdl/libx11-compat/recipe.toml
2026-09-11 00:41:20 +07:00

22 lines
450 B
TOML

#TODO requires RTLD_NEXT
[source]
git = "https://github.com/sysprog21/libx11-compat"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"sdl2",
"sdl2-ttf",
"pixman",
]
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
DYNAMIC_INIT
MAKEFLAGS=(
SDL_BACKEND=sdl2
XCB=1
)
"${COOKBOOK_MAKE}" all examples -j "${COOKBOOK_MAKE_JOBS}" "${MAKEFLAGS[@]}"
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}/usr"
"""