f405070d2c
121-line redox.patch replaces 229-line fragile Python heredoc. Covers: meson.build, src/meson.build, event-loop.c, connection.c, wayland-server.c with signalfd, timerfd, eventfd, MSG_NOSIGNAL, open_memstream, timerfd_settime, timerfd_gettime stubs. libwayland builds successfully. Greeter cascade through llvm21.
23 lines
619 B
TOML
23 lines
619 B
TOML
#TODO: Requires Redox compatibility patching for missing Linux header paths and
|
|
# some POSIX/Linux-only flags during cross-builds.
|
|
# redox.patch restores the Redox compatibility stubs plus Meson scanner detection.
|
|
[source]
|
|
tar = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.24.0/downloads/wayland-1.24.0.tar.xz"
|
|
patches = ["redox.patch"]
|
|
|
|
[build]
|
|
template = "custom"
|
|
dependencies = [
|
|
"relibc",
|
|
"libffi",
|
|
"expat",
|
|
"libxml2",
|
|
]
|
|
script = """
|
|
DYNAMIC_INIT
|
|
cookbook_meson -Ddocumentation=false -Dtests=false -Ddtd_validation=false -Dc_args=-Wno-error
|
|
"""
|
|
|
|
[package]
|
|
dependencies = ["libffi"]
|