2015-12-25 11:43:37 +01:00
|
|
|
# Template file for 'gmic'
|
|
|
|
pkgname=gmic
|
2016-05-23 11:18:18 +02:00
|
|
|
version=1.7.1
|
2016-05-09 07:05:16 +02:00
|
|
|
revision=2
|
2016-05-09 02:00:29 +02:00
|
|
|
hostmakedepends="pkg-config gimp"
|
2016-03-10 10:10:38 +01:00
|
|
|
makedepends="fftw-devel libopenexr-devel MesaLib-devel libopencv-devel
|
2016-05-09 02:00:29 +02:00
|
|
|
libgomp-devel libpng-devel libjpeg-turbo-devel tiff-devel libcurl-devel
|
|
|
|
gtk+-devel gimp-devel qt-devel"
|
|
|
|
short_desc="GREYC's Magic for Image Computing (image processing framework)"
|
2015-12-25 11:43:37 +01:00
|
|
|
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
|
|
|
license="CeCILL"
|
|
|
|
homepage="http://gmic.eu/"
|
|
|
|
distfiles="http://gmic.eu/files/source/gmic_${version}.tar.gz"
|
2016-05-23 11:18:18 +02:00
|
|
|
checksum=27819ac198945a3c1ac0851a583b3946624b96612a00b5145281dbf4108f045f
|
|
|
|
nopie=yes
|
2015-12-25 11:43:37 +01:00
|
|
|
|
2016-05-09 02:00:29 +02:00
|
|
|
do_build() {
|
|
|
|
sed -i 's|/etc/bash_completion.d|/usr/share/bash-completion/completions|g' src/Makefile
|
2015-12-25 11:43:37 +01:00
|
|
|
make -C src all
|
|
|
|
}
|
|
|
|
do_install() {
|
|
|
|
make -C src install DESTDIR="${DESTDIR}" USR="/usr"
|
|
|
|
vlicense COPYING
|
|
|
|
}
|
2016-05-09 02:00:29 +02:00
|
|
|
|
2015-12-25 11:43:37 +01:00
|
|
|
gmic-gimp_package() {
|
|
|
|
short_desc+=" - GIMP plugin"
|
2016-05-09 02:00:29 +02:00
|
|
|
depends="gimp ${sourcepkg}>=${version}_${revision}"
|
2015-12-25 11:43:37 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/gimp
|
|
|
|
}
|
|
|
|
}
|
2016-05-09 02:00:29 +02:00
|
|
|
gmic-zart_package() {
|
|
|
|
short_desc+=" - ZArt tool"
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/zart
|
2015-12-25 11:43:37 +01:00
|
|
|
}
|
2016-05-09 02:00:29 +02:00
|
|
|
}
|
2015-12-25 11:43:37 +01:00
|
|
|
gmic-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
2016-05-09 02:00:29 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2015-12-25 11:43:37 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2016-05-09 02:00:29 +02:00
|
|
|
vmove usr/lib/*.so
|
2015-12-25 11:43:37 +01:00
|
|
|
}
|
|
|
|
}
|