26 lines
686 B
Plaintext
26 lines
686 B
Plaintext
# Description: A library to handle keyboard descriptions.
|
|
# URL: https://xkbcommon.org/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: xkeyboard-config
|
|
# Optional: wayland-protocols
|
|
|
|
name=libxkbcommon
|
|
version=1.5.0
|
|
release=1
|
|
source=(https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-$version.tar.gz)
|
|
|
|
build() {
|
|
prt-get isinst wayland-protocols || PKGMK_XKBCOMMON+=' -D enable-wayland=false'
|
|
|
|
meson build libxkbcommon-xkbcommon-$version $PKGMK_XKBCOMMON \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D enable-docs=false
|
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG ninja -C build install
|
|
}
|