void-packages/srcpkgs/gegl/template

36 lines
1.2 KiB
Bash

# Template file for 'gegl'
pkgname=gegl
version=0.4.20
revision=1
build_style=meson
build_helper="gir"
configure_args="-Ddocs=false -Dintrospection=$(vopt_if gir true false)
-Dlibspiro=disabled -Dlibv4l=disabled -Dlibv4l2=disabled -Dlua=disabled
-Dmrg=disabled -Dopenexr=disabled -Dsdl2=disabled -Dvapigen=disabled
-Dlibav=disabled -Dumfpack=disabled"
hostmakedepends="pkg-config intltool"
makedepends="babl-devel exiv2-devel gtk+-devel jasper-devel json-glib-devel
lensfun-devel libgexiv2-devel librsvg-devel libraw-devel libwebp-devel
python3-gobject-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.xz"
checksum=23bd8bb42b20de7c2a8c314eeb5301dc20141feda20a4b1ed455020b69b73dff
build_options="gir"
build_options_default="gir"
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"
vmove usr/share/gir-1.0
}
}