# Template file for 'gegl' pkgname=gegl version=0.4.44 revision=2 build_style=meson build_helper="gir" configure_args="-Ddocs=false -Dintrospection=true -Dvapigen=enabled -Dlibspiro=disabled -Dlibv4l=disabled -Dlibv4l2=disabled -Dlua=disabled -Dmrg=disabled -Dopenexr=disabled -Dsdl2=disabled -Dlibav=disabled -Dumfpack=disabled" hostmakedepends="pkg-config gettext vala" makedepends="babl-devel exiv2-devel jasper-devel json-glib-devel lensfun-devel libgexiv2-devel librsvg-devel libraw-devel libwebp-devel python3-gobject-devel poppler-glib-devel pango-devel vala" short_desc="Graph based image processing framework" maintainer="Enno Boland " license="GPL-3.0-only, LGPL-3.0-only" homepage="https://gegl.org/" changelog="https://gitlab.gnome.org/GNOME/gegl/-/raw/master/docs/NEWS.adoc" distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.xz" checksum=0a4cdb41635e406a0849cd0d3f03caf7d97cab8aa13d28707d532d0089d56126 case "$XBPS_TARGET_MACHINE" in arm*) configure_args+=" -Db_lto=false" esac gegl-devel_package() { depends="json-glib-devel babl-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig vmove usr/lib/libgegl-0.4.so vmove usr/share/vala vmove usr/share/gir-1.0 } }