summaryrefslogtreecommitdiff
path: root/graphics/kphotoalbum/kphotoalbum.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/kphotoalbum/kphotoalbum.SlackBuild')
-rw-r--r--graphics/kphotoalbum/kphotoalbum.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/graphics/kphotoalbum/kphotoalbum.SlackBuild b/graphics/kphotoalbum/kphotoalbum.SlackBuild
index abba1c7124..d573924941 100644
--- a/graphics/kphotoalbum/kphotoalbum.SlackBuild
+++ b/graphics/kphotoalbum/kphotoalbum.SlackBuild
@@ -5,7 +5,7 @@
PRGNAM=kphotoalbum
VERSION=${VERSION:-4.1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -56,6 +56,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Update docbook files to XML V4.2-Based Variant.
+patch -p1 < $CWD/kphotoalbum-4.1.1-docbook_fix.patch
+# Upstream patch to fix compilation with exiv2-0.21.
+patch -p1 < $CWD/kphotoalbum-4.1.1-exiv2.patch
+
mkdir build && cd build
cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \