void-packages/srcpkgs/gegl/template

38 lines
1.3 KiB
Bash

# Template file for 'gegl'
pkgname=gegl
version=0.4.38
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 <gottox@voidlinux.org>"
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=e4a33c8430a5042fba8439b595348e71870f0d95fbf885ff553f9020c1bed750
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
}
}