2012-11-20 14:00:26 +01:00
|
|
|
# Template file for 'libxkbcommon'.
|
|
|
|
pkgname=libxkbcommon
|
2014-09-06 22:43:49 +02:00
|
|
|
version=0.4.3
|
2014-07-27 19:41:03 +02:00
|
|
|
revision=1
|
2012-11-20 14:00:26 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static"
|
2014-02-21 11:27:48 +01:00
|
|
|
hostmakedepends="pkg-config flex"
|
2014-07-27 19:41:03 +02:00
|
|
|
makedepends="xkeyboard-config libxcb-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
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"
|
2014-09-06 22:43:49 +02:00
|
|
|
checksum=9a52d5d0419e76c49c0ece86208c205ffacb1cf0ff8ffbaba98d3d4dd40c4e41
|
2014-07-27 19:41:03 +02:00
|
|
|
|
|
|
|
libxkbcommon-x11_package() {
|
|
|
|
short_desc+=" - X11 support"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*x11*.so.*
|
|
|
|
}
|
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libxkbcommon-devel_package() {
|
2014-07-27 19:41:03 +02:00
|
|
|
depends="libxcb-devel ${sourcepkg}-x11>=${version}_${revision} ${sourcepkg}>=${version}_${revision}"
|
2013-06-13 06:49:41 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-21 11:27:48 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|