vp-build/srcpkgs/gegl/template

30 lines
1023 B
Bash

# Template build file for 'gegl'.
reverts="0.4.0_1"
pkgname=gegl
version=0.2.0
revision=2
build_style=gnu-configure
configure_args="--disable-docs --without-sdl --without-libopenraw
--without-libavformat --without-graphviz --without-lua --without-libspiro
--without-umfpack --with-exiv2 --without-libv4l --disable-introspection"
hostmakedepends="pkg-config intltool"
makedepends="libglib-devel libpng-devel babl-devel jasper-devel
libjpeg-turbo-devel librsvg-devel gtk+-devel exiv2-devel"
short_desc="Graph based image processing framework"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3.0, LGPL-3.0"
homepage="https://www.gimp.org"
distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
checksum=df2e6a0d9499afcbc4f9029c18d9d1e0dd5e8710a75e17c9b1d9a6480dd8d426
CFLAGS="-lm"
gegl-devel_package() {
depends="libglib-devel gegl>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.so
}
}