mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-07-12 18:19:42 -07:00
libxkbcommon: fix deps
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user