mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-11-04 19:56:36 +08:00
22 lines
450 B
TOML
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"
|
|
"""
|