# TODO: Conflict with libxkbcommon-x11
# TODO: Keyboard not working, see patches
[source]
tar = "https://xkbcommon.org/download/libxkbcommon-1.7.0.tar.xz"
blake3 = "5001ca0b8562feeef2010bf16c05657e3875fda3ed5fdedbf48b9135e5cdfcbc"
patches = [ "redox.patch" ]

[build]
template = "custom"
dependencies = [
    "libxml2",
    "xz",
    "zlib",
    "libpthread-stubs",
    "libxau",
    "x11proto",
    "xcb-proto",
    "libxcb",
]
script = """
DYNAMIC_INIT
cookbook_meson \
    -Denable-wayland=false \
    -Denable-x11=true
"""
