Files
distro/recipes/libxkbcommon.py
T
2026-06-02 21:38:47 +02:00

22 lines
732 B
Python

version = "1.9.2"
revision = 1
description = "Library to handle keyboard descriptions and key events"
license = "MIT"
url = "https://xkbcommon.org/"
source = tarball(
url=f"https://github.com/xkbcommon/libxkbcommon/archive/refs/tags/xkbcommon-{version}.tar.gz",
sha256="d2eab57e1ce79de991f8ceb3fcd726a6978b970382c8ac8c8f112b61ceaa9167",
)
host_deps = ["binutils", "gcc", "pkgconf"]
deps = [profile["libc"], "xkeyboard-config", "libxml2"]
configure, build, install = meson(
configure_args=[
# Weston uses core libxkbcommon; no X11/Wayland helper tools needed.
"-Denable-x11=false",
"-Denable-wayland=false",
"-Denable-docs=false",
"-Dxkb-config-root=/usr/share/X11/xkb",
],
)