# Template build for 'xcb-util-image'.
pkgname=xcb-util-image
version=0.3.9
revision=4
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="libxcb-devel>=1.8 xcb-util-devel>=0.3.9"
replaces="xcb-util<0.3.9"
short_desc="Utility libraries for XC Binding - Port of Xlib's XImage and XShmImage functions"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xcb.freedesktop.org"
license="GPL-2"
distfiles="http://xcb.freedesktop.org/dist/$pkgname-$version.tar.bz2"
checksum=d35a3c0eaae171f5081ec127fb9cec174b716ce5d78196a87f2785376da021df

xcb-util-image-devel_package() {
	depends="libxcb-devel ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
