summaryrefslogtreecommitdiff
path: root/source/kde/kdegraphics/kdegraphics.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kdegraphics/kdegraphics.SlackBuild')
-rwxr-xr-xsource/kde/kdegraphics/kdegraphics.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/kde/kdegraphics/kdegraphics.SlackBuild b/source/kde/kdegraphics/kdegraphics.SlackBuild
index 50447b3f..a33ffbcc 100755
--- a/source/kde/kdegraphics/kdegraphics.SlackBuild
+++ b/source/kde/kdegraphics/kdegraphics.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2009 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2009, 2010 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -47,6 +47,8 @@ echo "Building kdegraphics-$VERSION..."
tar xvf $CWD/../src/kdegraphics-$VERSION.tar.?z* || exit 1
cd kdegraphics-$VERSION
+zcat $CWD/kdegraphics.gwenview.jpeg8.diff.gz | patch -p1 --verbose || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -57,6 +59,7 @@ find . \
mkdir -p build
cd build
cmake \
+ $KDE_OPT_ARGS \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \