summaryrefslogtreecommitdiff
path: root/graphics/digikam/digikam.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-08-29 07:03:01 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-05 06:25:06 +0700
commit22e3b97b1ccad996e3ecfe36111c7913945b3249 (patch)
treeaaea1dc7bec5ed6bfc5e1010702f765e2f329bdb /graphics/digikam/digikam.SlackBuild
parent5351e58392ddb69fef5f337b30437ef22756201e (diff)
downloadslackbuilds-22e3b97b1ccad996e3ecfe36111c7913945b3249.tar.gz
graphics/digikam: Patched against opencv 3.0.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/digikam/digikam.SlackBuild')
-rw-r--r--graphics/digikam/digikam.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/digikam/digikam.SlackBuild b/graphics/digikam/digikam.SlackBuild
index f8f0bfed55..7a0f9a7e5d 100644
--- a/graphics/digikam/digikam.SlackBuild
+++ b/graphics/digikam/digikam.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=digikam
VERSION=${VERSION:-4.12.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -66,6 +66,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/opencv.patch
+cd extra/libkface
+patch -p1 < $CWD/libkface.patch
+cd ../..
mkdir -p build
cd build
cmake \
@@ -81,6 +85,7 @@ cd build
-DDIGIKAMSC_COMPILE_LIBKVKONTAKTE=ON \
-DDIGIKAMSC_COMPILE_LIBKFACE=ON \
-DDIGIKAMSC_COMPILE_DOC=OFF \
+ -DCMAKE_CXX_FLAGS:STRING="$(/usr/bin/Magick++-config --libs)" \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG