# Template file for 'libXpresent'
pkgname=libXpresent
version=1.0.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config xorg-util-macros"
makedepends="libXfixes-devel libXrandr-devel"
short_desc="XPresent extension C library"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="X11"
homepage="https://cgit.freedesktop.org/xorg/lib/libXpresent/"
distfiles="${XORG_SITE}/lib/libXpresent-${version}.tar.gz"
checksum=92f1bdfb67ae2ffcdb25ad72c02cac5e4912dc9bc792858240df1d7f105946fa

libXpresent-devel_package() {
	depends="${sourcepkg}-${version}_${revision} libX11-devel libXext-devel
	 libXfixes-devel libXrandr-devel presentproto xorgproto xproto"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/share/man/man3
		vmove "usr/lib/*.so"
		vmove "usr/lib/*.a"
	}
}
