libxkbcommon: fix deps

This commit is contained in:
spycat88
2026-04-25 12:47:29 +00:00
committed by Douglas Teles
parent afd7ce30ee
commit 29394245fb
@@ -7,8 +7,7 @@ PKG_VERSION="1.6.0"
PKG_LICENSE="MIT"
PKG_SITE="https://xkbcommon.org"
PKG_URL="https://xkbcommon.org/download/${PKG_NAME}-${PKG_VERSION}.tar.xz"
PKG_DEPENDS_TARGET="toolchain xkeyboard-config libxml2 libXau libxcb wayland"
PKG_DEPENDS_HOST="toolchain:host xkeyboard-config:host libxml2:host libxcb:host libXau:host wayland:host"
PKG_DEPENDS_TARGET="toolchain xkeyboard-config libxml2 libXau libxcb"
PKG_LONGDESC="xkbcommon is a library to handle keyboard descriptions."
PKG_MESON_OPTS_TARGET="-Denable-docs=false"
@@ -17,6 +16,7 @@ if [ "${DISPLAYSERVER}" = "x11" ]; then
PKG_MESON_OPTS_TARGET+=" -Denable-x11=true \
-Denable-wayland=false"
elif [ "${DISPLAYSERVER}" = "wl" ]; then
PKG_DEPENDS_TARGET+=" wayland wayland-protocols"
PKG_MESON_OPTS_TARGET+=" -Denable-x11=true \
-Denable-wayland=true \
-Dxkb-config-root=/usr/share/X11/xkb"