Files
RedBear-OS/recipes/wip/wayland/libwayland/recipe.toml
T
vasilito 7645c5998a fix: libwayland simplified recipe (23 lines) + durability patch
Removed 229-line fragile Python heredoc. Replaced with:
- Proper redox.patch (105 lines, applies to wayland-1.24.0)
- Clean meson build (-Dc_args=-Wno-error)
- Patch handles: SFD/TFD checks, signalfd/timerfd compat,
  MSG_NOSIGNAL, open_memstream stub
2026-04-28 12:11:28 +01:00

24 lines
737 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"
[build]
template = "custom"
dependencies = [
"relibc",
"libffi",
"expat",
"libxml2",
]
script = """
DYNAMIC_INIT
RELIBC_INCLUDE_STAGE="${COOKBOOK_ROOT}/recipes/core/relibc/target/${TARGET}/stage/usr/include"
if [ ! -f "${RELIBC_INCLUDE_STAGE}/sys/signalfd.h" ]; then
script = """
DYNAMIC_INIT
cookbook_meson -Ddocumentation=false -Dtests=false -Ddtd_validation=false -Dc_args=-Wno-error
"""