37 lines
1.1 KiB
Text
37 lines
1.1 KiB
Text
# Template file for 'libxkbcommon'.
|
|
pkgname=libxkbcommon
|
|
version=0.2.0
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static"
|
|
hostmakedepends="pkg-config flex"
|
|
short_desc="Library to handle keyboard descriptions"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="http://xkbcommon.org/"
|
|
license="MIT/X11"
|
|
distfiles="http://xkbcommon.org/download/${pkgname}-${version}.tar.bz2"
|
|
checksum=74eb0a121ca3998015fd687591426bb15c524645a72cf602831b2e729172fb42
|
|
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}"
|
|
short_desc="${short_desc} -- development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|
|
|
|
libxkbcommon_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|