libxkbcommon: enable xkbregistry

This is now needed by Waybar
This commit is contained in:
Isaac Freund 2021-08-19 11:34:48 +02:00 committed by Érico Nogueira Rolim
parent 46087f03f7
commit 0bc04c3740
3 changed files with 16 additions and 3 deletions

View File

@ -1155,6 +1155,7 @@ libtomcrypt.so.1 libtomcrypt-1.18.0_1
libHX.so.28 libHX-3.14_1
libxkbcommon.so.0 libxkbcommon-0.2.0_1
libxkbcommon-x11.so.0 libxkbcommon-x11-0.4.2_1
libxkbregistry.so.0 libxkbregistry-1.3.0_3
libgee-0.8.so.2 libgee08-0.8.2_1
libnettle.so.8 nettle-3.6_1
libhogweed.so.6 nettle-3.6_1

View File

@ -1,13 +1,16 @@
# Template file for 'libxkbcommon'
pkgname=libxkbcommon
version=1.3.0
revision=2
revision=3
wrksrc="${pkgname}-${pkgname#lib}-${version}"
build_style=meson
# b_ndebug=false is needed to pass the test suite, as it relies on side effects
# in the arguments of assert calls.
configure_args="-Denable-x11=true -Denable-docs=false
-Denable-wayland=true -Denable-xkbregistry=false"
-Denable-wayland=true -Denable-xkbregistry=true -Db_ndebug=false"
hostmakedepends="pkg-config bison wayland-protocols wayland-devel"
makedepends="xkeyboard-config libxcb-devel wayland-devel wayland-protocols xorgproto"
makedepends="xkeyboard-config libxcb-devel wayland-devel wayland-protocols
xorgproto libxml2-devel"
depends="xkeyboard-config"
short_desc="Library to handle keyboard descriptions"
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
@ -27,8 +30,16 @@ libxkbcommon-x11_package() {
}
}
libxkbregistry_package() {
short_desc="XKB API to query available rules, models, layouts, variants and options"
pkg_install() {
vmove "usr/lib/libxkbregistry.so.*"
}
}
libxkbcommon-devel_package() {
depends="${sourcepkg}-x11>=${version}_${revision}
libxkbregistry>=${version}_${revision}
${sourcepkg}>=${version}_${revision} libxcb-devel"
short_desc+=" - development files"
pkg_install() {

1
srcpkgs/libxkbregistry Symbolic link
View File

@ -0,0 +1 @@
libxkbcommon