# gegl - Generic graphics library
# Generated from manifest.tsv by gen-ports.py. Edit the manifest, not this file,
# unless the package needs something the template cannot express - in which case
# drop a `recipe.local` beside it and it will be preserved.
name=gegl
version=0.4.62
release=1
desc="Generic graphics library"
url="https://gegl.org/"
license="LGPL-3.0-or-later"
depend="babl glib cairo libpng"
makedepend="meson ninja"
source="https://download.gimp.org/gegl/0.4/gegl-0.4.62.tar.xz"
sha256="SKIP"

build() {
	cd "gegl-0.4.62"
	meson setup build \
		--prefix=/usr \
		--libdir=/usr/lib \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--buildtype=release \
		--wrap-mode=nodownload \
		-Db_lto=true
	ninja -C build -j"$JOBS"
}

package() {
	cd "gegl-0.4.62"
	DESTDIR="$pkgdir" ninja -C build install
}
