40 lines
1.0 KiB
Plaintext
40 lines
1.0 KiB
Plaintext
# Template build file for 'libxcb'.
|
|
pkgname=libxcb
|
|
version=1.10
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-build-docs --disable-static --enable-xinput --enable-xkb"
|
|
hostmakedepends="pkg-config python libxslt docbook-xsl"
|
|
makedepends="xcb-proto>=1.10 libXdmcp-devel libXau-devel"
|
|
short_desc="X protocol C-language Binding"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://xcb.freedesktop.org"
|
|
distfiles="$homepage/dist/$pkgname-$version.tar.bz2"
|
|
checksum=98d9ab05b636dd088603b64229dd1ab2d2cc02ab807892e107d674f9c3f2d5b5
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" libtool automake xcb-proto>=1.10"
|
|
pre_configure() {
|
|
sed -e "s|pthread-stubs ||" -i configure.ac
|
|
autoreconf -fi
|
|
}
|
|
fi
|
|
|
|
libxcb-devel_package() {
|
|
depends="libXdmcp-devel libXau-devel libxcb>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libxcb_package() {
|
|
pkg_install() {
|
|
vmove all
|
|
}
|
|
}
|