void-packages/srcpkgs/gmic/template
2019-09-08 10:48:13 +02:00

45 lines
1.2 KiB
Bash

# Template file for 'gmic'
pkgname=gmic
version=2.7.1
revision=1
build_wrksrc="src"
build_style=gnu-makefile
hostmakedepends="pkg-config gimp"
makedepends="fftw-devel libopenexr-devel MesaLib-devel libopencv-devel
libgomp-devel libpng-devel libjpeg-turbo-devel tiff-devel libcurl-devel
gtk+-devel gimp-devel qt5-devel"
short_desc="GREYC's Magic for Image Computing (image processing framework)"
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
license="CECILL-2.1"
homepage="http://gmic.eu/"
distfiles="http://gmic.eu/files/source/gmic_${version}.tar.gz"
checksum="c71e784abd2141252efad505b6a48b6974c388788db5530b3ca0dfb07baeafeb"
disable_parallel_build="yes"
nocross="https://build.voidlinux.org/builders/armv7l_builder/builds/8869/steps/shell_3/logs/stdio"
post_install() {
vlicense ../COPYING
}
gmic-gimp_package() {
short_desc+=" - GIMP plugin"
depends="gimp ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/gimp
}
}
gmic-zart_package() {
short_desc+=" - ZArt tool"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin/zart
}
}
gmic-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}