# Template build file for 'gegl3'.
pkgname=gegl3
version=0.3.0
revision=1
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 json-glib-devel"
short_desc="Graph based image processing framework (v0.3)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3, LGPL-3"
homepage="http://www.gimp.org"
distfiles="http://ftp.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
checksum=f0fec8f2e7b8835979d3cf4e38b05d41bb79f68dc80cf899a846484da693bbf7
wrksrc=gegl-$version

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