2009-04-16 21:31:03 +00:00
|
|
|
# Template build file for 'libxcb'.
|
|
|
|
pkgname=libxcb
|
2014-08-01 15:25:01 +00:00
|
|
|
version=1.11
|
2014-08-18 08:14:18 +00:00
|
|
|
revision=2
|
2012-10-06 12:04:45 +00:00
|
|
|
build_style=gnu-configure
|
2013-05-30 21:21:55 +00:00
|
|
|
configure_args="--disable-build-docs --disable-static --enable-xinput --enable-xkb"
|
2014-08-01 15:25:01 +00:00
|
|
|
hostmakedepends="automake libtool pkg-config xorg-util-macros xcb-proto>=1.11"
|
|
|
|
makedepends="xcb-proto>=1.11 libXdmcp-devel libXau-devel"
|
2009-04-16 21:31:03 +00:00
|
|
|
short_desc="X protocol C-language Binding"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-13 12:57:40 +00:00
|
|
|
license="GPL-2"
|
2012-10-06 12:04:45 +00:00
|
|
|
homepage="http://xcb.freedesktop.org"
|
|
|
|
distfiles="$homepage/dist/$pkgname-$version.tar.bz2"
|
2014-08-01 15:25:01 +00:00
|
|
|
checksum=03635d70045b9ede90778e67516135828a57de87ac508f987024f43c03620ff7
|
2009-04-16 21:31:03 +00:00
|
|
|
|
2014-08-01 15:25:01 +00:00
|
|
|
pre_configure() {
|
|
|
|
sed "s|pthread-stubs ||" -i configure.ac
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
libxcb-devel_package() {
|
2014-08-01 15:25:01 +00:00
|
|
|
depends="${makedepends} libxcb>=${version}_${revision}"
|
2013-05-30 21:05:59 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 11:13:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-11-10 06:07:52 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 11:13:49 +00:00
|
|
|
}
|
|
|
|
}
|