void-packages/srcpkgs/gegl/template
2020-03-31 19:36:41 +02:00

35 lines
1.3 KiB
Bash

# Template file for 'gegl'
pkgname=gegl
version=0.4.22
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=1888ec41dfd19fe28273795c2209efc1a542be742691561816683990dc642c61
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
}
}