void-packages/srcpkgs/gegl/template

36 lines
1.3 KiB
Bash

# Template file for 'gegl'
pkgname=gegl
version=0.4.24
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 poppler-glib-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=7765499f27341b0d16032e665319cbc12876483ff6a944fcdf24a9c58e3e254a
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
}
}