49 lines
1.3 KiB
Bash
49 lines
1.3 KiB
Bash
# Template file for 'libxkbcommon'
|
|
pkgname=libxkbcommon
|
|
version=1.0.3
|
|
revision=1
|
|
wrksrc="${pkgname}-${pkgname#lib}-${version}"
|
|
build_style=meson
|
|
configure_args="-Denable-x11=true -Denable-docs=false
|
|
-Denable-wayland=true -Denable-xkbregistry=false"
|
|
hostmakedepends="pkg-config bison wayland-protocols wayland-devel"
|
|
makedepends="xkeyboard-config libxcb-devel wayland-devel wayland-protocols"
|
|
depends="xkeyboard-config"
|
|
short_desc="Library to handle keyboard descriptions"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://xkbcommon.org/"
|
|
distfiles="https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-${version}.tar.gz"
|
|
checksum=5d10a57ab65daad7d975926166770eca1d2c899131ab96c23845df1c42da5c31
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libxkbcommon-x11_package() {
|
|
short_desc+=" - X11 support"
|
|
pkg_install() {
|
|
vmove "usr/lib/*x11*.so.*"
|
|
}
|
|
}
|
|
|
|
libxkbcommon-devel_package() {
|
|
depends="${sourcepkg}-x11>=${version}_${revision}
|
|
${sourcepkg}>=${version}_${revision} libxcb-devel"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libxkbcommon-tools_package() {
|
|
short_desc+=" - utilities"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/libexec
|
|
vmove usr/share/man
|
|
}
|
|
}
|