void-packages/srcpkgs/gegl3/template
2017-06-01 19:34:52 +02:00

34 lines
1.1 KiB
Bash

# Template build file for 'gegl3'.
pkgname=gegl3
version=0.3.18
revision=1
wrksrc="gegl-${version}"
build_style=gnu-configure
configure_args="--disable-docs --without-sdl
--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 json-glib-devel
libraw-devel"
short_desc="Graph based image processing framework (v0.3)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3, LGPL-3"
homepage="https://www.gimp.org/"
distfiles="https://download.gimp.org/pub/gegl/${version%.*}/gegl-${version}.tar.bz2"
checksum=d7858ef26ede136d14e3de188a9e9c0de7707061a9fb96d7d615fab4958491fb
post_install() {
# Resolves conflict with gegl
mv ${DESTDIR}/usr/bin/gegl ${DESTDIR}/usr/bin/gegl3
}
gegl3-devel_package() {
depends="libglib-devel gegl3>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/libgegl-0.3.so
}
}