# Template file for 'gegl'
pkgname=gegl
version=0.4.16
revision=1
build_style=gnu-configure
configure_args="--disable-docs --without-sdl --with-libraw
 --without-libavformat --without-graphviz --without-lua --without-libspiro
 --without-umfpack --with-exiv2 --without-libv4l --disable-introspection"
hostmakedepends="pkg-config intltool"
makedepends="babl-devel exiv2-devel gtk+-devel jasper-devel json-glib-devel
 librsvg-devel libraw-devel libwebp-devel"
short_desc="Graph based image processing framework"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-only, LGPL-3.0-only"
homepage="https://www.gimp.org"
changelog="https://gitlab.gnome.org/GNOME/gegl/raw/master/docs/NEWS.txt"
distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
checksum=0112df690301d9eb993cc48965fc71b7751c9021a4f4ee08fcae366c326b5e5a

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