void-packages/srcpkgs/libxkbcommon/template

33 lines
1.0 KiB
Plaintext
Raw Normal View History

2012-11-20 14:00:26 +01:00
# Template file for 'libxkbcommon'.
pkgname=libxkbcommon
2013-06-13 06:49:41 +02:00
version=0.3.1
revision=1
2012-11-20 14:00:26 +01:00
build_style=gnu-configure
configure_args="--disable-static"
2013-06-13 06:49:41 +02:00
hostmakedepends="pkg-config flex xkeyboard-config"
depends="xkeyboard-config"
2012-11-20 14:00:26 +01:00
short_desc="Library to handle keyboard descriptions"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xkbcommon.org/"
2012-11-20 14:06:33 +01:00
license="MIT/X11"
2013-06-13 06:49:41 +02:00
distfiles="http://xkbcommon.org/download/${pkgname}-${version}.tar.xz"
checksum=9c973581bba0c883a301fa6474d9c3e4f3a06c34e4ae4f1f4e113692cb18b38e
2012-11-20 14:00:26 +01:00
long_desc="
xkbcommon is a library to handle keyboard descriptions, including loading
them from disk, parsing them and handling their state. It's mainly meant
for client toolkits, window systems, and other system applications;
currently that includes Wayland, kmscon, GTK+, Clutter, and more."
if [ "$CROSS_BUILD" ]; then
makedepends+=" libfl-devel"
fi
libxkbcommon-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
2013-06-13 06:49:41 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}