some packages were dropped but their maintainer= was not updated in template. this will help new maintainers adopt these packages. -> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
# Template file for 'libxkbcommon'
|
|
pkgname=libxkbcommon
|
|
version=0.8.4
|
|
revision=2
|
|
wrksrc="${pkgname}-${pkgname#lib}-${version}"
|
|
build_style=meson
|
|
configure_args="-Denable-wayland=true -Denable-docs=false -Denable-x11=true"
|
|
hostmakedepends="pkg-config bison wayland-protocols"
|
|
makedepends="xkeyboard-config libxcb-devel wayland-devel"
|
|
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=299b47558188017047354995f5882d43c2c8a60367df553319dcecebadb73e1d
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" wayland-devel"
|
|
makedepends+=" wayland-protocols"
|
|
fi
|
|
|
|
pkg_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
libxkbcommon-x11_package() {
|
|
short_desc+=" - X11 support"
|
|
pkg_install() {
|
|
vmove "usr/lib/*x11*.so.*"
|
|
}
|
|
}
|
|
|
|
libxkbcommon-devel_package() {
|
|
depends="libxcb-devel ${sourcepkg}-x11>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|