# Template build file for 'gegl'.
pkgname=gegl
version=0.2.0
revision=7
build_style=gnu-configure
configure_args="--disable-docs --without-sdl --without-libopenraw
 --without-libavformat --without-graphviz --without-lua --without-libspiro
 --without-umfpack --with-exiv2 --without-libv4l --disable-introspection"
hostmakedepends="pkg-config intltool"
makedepends="libglib-devel libpng-devel babl-devel jasper-devel
 libjpeg-turbo-devel librsvg-devel gtk+-devel exiv2-devel"
short_desc="Graph based image processing framework"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3, LGPL-3"
homepage="http://www.gimp.org"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/gegl/gegl-${version}.tar.bz2/32b00002f1f1e316115c4ed922e1dec8/gegl-${version}.tar.bz2"
checksum=df2e6a0d9499afcbc4f9029c18d9d1e0dd5e8710a75e17c9b1d9a6480dd8d426

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