2009-04-16 23:31:03 +02:00
|
|
|
# Template build file for 'libxcb'.
|
|
|
|
pkgname=libxcb
|
2013-05-30 23:05:59 +02:00
|
|
|
version=1.9.1
|
2013-05-30 23:21:55 +02:00
|
|
|
revision=2
|
2012-10-06 14:04:45 +02:00
|
|
|
build_style=gnu-configure
|
2013-05-30 23:21:55 +02:00
|
|
|
configure_args="--disable-build-docs --disable-static --enable-xinput --enable-xkb"
|
2013-04-09 01:49:27 +02:00
|
|
|
hostmakedepends="pkg-config python libxslt docbook-xsl"
|
|
|
|
makedepends="xcb-proto>=1.8 libXdmcp-devel libXau-devel"
|
2009-04-16 23:31:03 +02:00
|
|
|
short_desc="X protocol C-language Binding"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-13 13:57:40 +01:00
|
|
|
license="GPL-2"
|
2012-10-06 14:04:45 +02:00
|
|
|
homepage="http://xcb.freedesktop.org"
|
|
|
|
distfiles="$homepage/dist/$pkgname-$version.tar.bz2"
|
2013-05-30 23:05:59 +02:00
|
|
|
checksum=d44a5ff4eb0b9569e6f7183b51fdaf6f58da90e7d6bfc36b612d7263f83e362f
|
2009-04-16 23:31:03 +02:00
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" libtool automake xcb-proto>=1.8"
|
2013-02-12 14:25:53 +01:00
|
|
|
pre_configure() {
|
|
|
|
sed -e "s|pthread-stubs ||" -i configure.ac
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
2013-04-12 13:13:49 +02:00
|
|
|
|
|
|
|
libxcb-devel_package() {
|
2013-05-30 23:21:55 +02:00
|
|
|
depends="libXdmcp-devel libXau-devel libxcb>=${version}_${revision}"
|
2013-05-30 23:05:59 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libxcb_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|