aboutsummaryrefslogtreecommitdiff
path: root/graphics/kphotoalbum/kphotoalbum.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2011-04-01 01:34:33 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-04-03 09:34:02 -0500
commitf435f93516d1fdd743bdd58bc34a614cd10f3465 (patch)
tree37b797bb08174c0b110b8f9a7c8a47e622a2604d /graphics/kphotoalbum/kphotoalbum.SlackBuild
parent82d1e91b0b9ee8ae37c04dfd3f1e62e29bd1b94a (diff)
graphics/kphotoalbum: Added docbook and exiv2 fixes.
# Update docbook files to XML V4.2-Based Variant. # Upstream patch to fix compilation with exiv2-0.21. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 abba1c712430..d57392494151 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" \