summaryrefslogtreecommitdiff
path: root/community/gmic/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gmic/PKGBUILD')
-rw-r--r--community/gmic/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/gmic/PKGBUILD b/community/gmic/PKGBUILD
index a508a3029..d9c11df10 100644
--- a/community/gmic/PKGBUILD
+++ b/community/gmic/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 52163 2011-07-20 22:09:09Z spupykin $
+# $Id: PKGBUILD 56316 2011-10-05 15:22:43Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: farid <farid at archlinuc-br.org>
@@ -6,7 +6,7 @@
pkgbase=gmic
pkgname=('gmic' 'gimp-plugin-gmic')
-pkgver=1.5.0.0
+pkgver=1.5.0.3
pkgrel=1
pkgdesc="image procession framework"
arch=('i686' 'x86_64')
@@ -14,8 +14,10 @@ license=('custom:CeCILL')
url="http://gmic.sourceforge.net"
makedepends=('gimp' 'fftw' 'lapack' 'opencv' 'graphicsmagick' 'openexr' 'imagemagick')
options=('docs' '!emptydirs')
-source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_$pkgver.tar.gz")
-md5sums=('6ea2d9b3be294d79cd83364c03303a96')
+source=("http://downloads.sourceforge.net/sourceforge/gmic/gmic_$pkgver.tar.gz"
+ opencv-buildfix.patch)
+md5sums=('beb98c3f257d664da750455a98cc3aa9'
+ 'f135182ced743c296e08ddd560fa6be9')
build() {
cd "$srcdir/gmic-$pkgver"
@@ -27,6 +29,7 @@ build() {
sed -i 's|OPENCV_CFLAGS = .*|OPENCV_CFLAGS = -Dcimg_use_opencv -I$(USR)/include/opencv `pkg-config --cflags opencv`|' src/Makefile
sed -i 's|OPENCV_LDFLAGS = .*|OPENCV_LDFLAGS = `pkg-config --libs opencv`|' src/Makefile
sed -i 's|cp -f gmic_gimp.*||' src/Makefile
+ patch -p1 <$srcdir/opencv-buildfix.patch
make -C src all
}