new package: gmic (and friends)
This commit is contained in:
parent
c7567b918c
commit
a3b40e8266
4 changed files with 61 additions and 0 deletions
1
srcpkgs/gmic-devel
Symbolic link
1
srcpkgs/gmic-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
gmic
|
1
srcpkgs/gmic-gimp
Symbolic link
1
srcpkgs/gmic-gimp
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
gmic
|
1
srcpkgs/gmic-zart
Symbolic link
1
srcpkgs/gmic-zart
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
gmic
|
58
srcpkgs/gmic/template
Normal file
58
srcpkgs/gmic/template
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
# Template file for 'gmic'
|
||||||
|
pkgname=gmic
|
||||||
|
version=1.6.8
|
||||||
|
revision=1
|
||||||
|
hostmakedepends="pkg-config gimp gimp-devel"
|
||||||
|
makedepends="fftw-devel libopenexr-devel MesaLib-devel libopencv-devel libgomp-devel libpng-devel libjpeg-turbo-devel gimp-devel tiff-devel libcurl-devel gtk+-devel gimp-devel"
|
||||||
|
short_desc="GREYC's Magic Image Converter (image processing framework)"
|
||||||
|
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
|
||||||
|
license="CeCILL"
|
||||||
|
homepage="http://gmic.eu/"
|
||||||
|
distfiles="http://gmic.eu/files/source/gmic_${version}.tar.gz"
|
||||||
|
checksum=d016f41fc9cb005d374bf681e2b7f157e43c8fd8002731cfec221167475443ff
|
||||||
|
build_options="zart"
|
||||||
|
desc_option_zart="Enable zArt tool, depends on Qt4"
|
||||||
|
|
||||||
|
if [ -z "$CROSS_BUILD" ]; then
|
||||||
|
build_options_default="zart"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$build_option_zart" ]; then
|
||||||
|
hostmakedepends+=" qt-qmake"
|
||||||
|
makedepends+=" qt-devel"
|
||||||
|
fi
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
sed -i -e 's|qmake zart.pro|qmake-qt4 zart.pro|g'\
|
||||||
|
-e 's|/etc/bash_completion.d|/usr/share/bash-completion/completions|g'\
|
||||||
|
src/Makefile
|
||||||
|
make -C src all
|
||||||
|
}
|
||||||
|
do_install() {
|
||||||
|
make -C src install DESTDIR="${DESTDIR}" USR="/usr"
|
||||||
|
vlicense COPYING
|
||||||
|
}
|
||||||
|
gmic-gimp_package() {
|
||||||
|
short_desc+=" - GIMP plugin"
|
||||||
|
depends+=" gimp gmic"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/gimp
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if [ "$build_option_zart" ]; then
|
||||||
|
gmic-zart_package() {
|
||||||
|
short_desc+=" - zArt tool"
|
||||||
|
depends+=" qt4 gmic"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/zart
|
||||||
|
}
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
gmic-devel_package() {
|
||||||
|
depends+=" gmic"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/*.so*
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue