summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD18
-rw-r--r--depthmap-cv.patch12
3 files changed, 20 insertions, 14 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 16c1df40ea6..fa7637de459 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = gimp-elsamuko-plugins
pkgdesc = Varoius Gimp plugins made by elsamuko
pkgver = 0.1
- pkgrel = 4
+ pkgrel = 5
url = https://sites.google.com/site/elsamuko/gimp
arch = i686
arch = x86_64
@@ -30,7 +30,7 @@ pkgbase = gimp-elsamuko-plugins
source = https://sites.google.com/site/elsamuko/forensics/lab-analysis/elsamuko-lab-analysis.tar.gz
source = cimg.patch
sha256sums = 37081258b6401bcc095d86b3a313b8fc4691f2f70b75e60d6f96be26ab1eb963
- sha256sums = 70c9ef3ab10a5fdbf389266e2bcd30047191ac520740b196da93caefa4621be8
+ sha256sums = f93871dbc6c05a00c5232412422bed81021b9a9cd5b2969f7b9f5f3740c98611
sha256sums = 2cfa1516ab49d1f8d94168c694219be940c2154f4128e3b3e77a8a24e8940312
sha256sums = 890e94b870278f49c1291eeb56efdcb6bffdfd8a5e6cba210dc7b47947f5bf2a
sha256sums = 20c8ec08587d61d87e91989a9655d693904eb56f402c1eb574c5e4c3a13d4ad1
diff --git a/PKGBUILD b/PKGBUILD
index 1655d5326c9..f31d01d6ea4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ true && pkgname=(
gimp-plugin-lab-analysis
)
pkgver=0.1
-pkgrel=4
+pkgrel=5
arch=(i686 x86_64)
url='https://sites.google.com/site/elsamuko/gimp'
pkgdesc='Varoius Gimp plugins made by elsamuko'
@@ -50,7 +50,7 @@ https://sites.google.com/site/elsamuko/forensics/lab-analysis/elsamuko-lab-analy
cimg.patch
)
sha256sums=('37081258b6401bcc095d86b3a313b8fc4691f2f70b75e60d6f96be26ab1eb963'
- '70c9ef3ab10a5fdbf389266e2bcd30047191ac520740b196da93caefa4621be8'
+ 'f93871dbc6c05a00c5232412422bed81021b9a9cd5b2969f7b9f5f3740c98611'
'2cfa1516ab49d1f8d94168c694219be940c2154f4128e3b3e77a8a24e8940312'
'890e94b870278f49c1291eeb56efdcb6bffdfd8a5e6cba210dc7b47947f5bf2a'
'20c8ec08587d61d87e91989a9655d693904eb56f402c1eb574c5e4c3a13d4ad1'
@@ -72,11 +72,13 @@ _pluginsdir_eval='_pluginsdir="$pkgdir"/usr/lib/gimp/2.0/plug-ins'
_curvesdir_eval='_curvesdir="$pkgdir"/usr/share/$pkgname/examples/curves'
prepare() {
cd "$srcdir"
- patch -Np1 -i "$srcdir"/eaw-sharpen.patch
- patch -Np1 -i "$srcdir"/depthmap-cv.patch
- patch -Np1 -i "$srcdir"/face-detect-cv.patch
- cd $srcdir/elsamuko-lab-analysis
- patch -Np1 -i $srcdir/cimg.patch
+ patch -Np1 -i eaw-sharpen.patch
+ patch -Np1 -i depthmap-cv.patch
+ patch -Np1 -i face-detect-cv.patch
+ cd "$srcdir"/elsamuko-lab-analysis
+ patch -Np1 -i "$srcdir"/cimg.patch
+# cd "$srcdir"/elsamuko-depthmap-cv
+# sed '16 s/^/#/' -i Makefile
}
build() {
cd "$srcdir"
@@ -103,8 +105,8 @@ build() {
make
# depthmap-cv
msg2 "Building depthmap-cv plugin"
- gimptool --build elsamuko-depthmap.c
cd "$srcdir"/elsamuko-depthmap-cv
+ gimptool --build elsamuko-depthmap-cv.c
make
# face-detect-cv
msg2 "Building face-detect-cv plugin"
diff --git a/depthmap-cv.patch b/depthmap-cv.patch
index 593dcd54e08..ab795da7e80 100644
--- a/depthmap-cv.patch
+++ b/depthmap-cv.patch
@@ -1,12 +1,16 @@
diff --git a/elsamuko-depthmap-cv/elsamuko-depthmap-cv.c b/elsamuko-depthmap-cv/elsamuko-depthmap-cv.c
-index 56c959a..8da530b 100644
+index 56c959ac..869a1e58 100644
--- a/elsamuko-depthmap-cv/elsamuko-depthmap-cv.c
+++ b/elsamuko-depthmap-cv/elsamuko-depthmap-cv.c
-@@ -20,6 +20,7 @@
+@@ -19,8 +19,9 @@
+
#include <stdlib.h>
#include <stdio.h>
- #include <cv.h>
+-#include <cv.h>
+-#include <highgui.h>
++#include <opencv/cv.h>
+#include <opencv2/legacy/legacy.hpp>
- #include <highgui.h>
++#include <opencv/highgui.h>
// #include <sys/types.h>
+ // #include <sys/stat.h>