summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/kde-gtk-config/kde-gtk-config.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/kde-gtk-config/kde-gtk-config.SlackBuild b/desktop/kde-gtk-config/kde-gtk-config.SlackBuild
index a1a5432ee7..9a5fc61f06 100644
--- a/desktop/kde-gtk-config/kde-gtk-config.SlackBuild
+++ b/desktop/kde-gtk-config/kde-gtk-config.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=kde-gtk-config
VERSION=${VERSION:-2.2.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -70,6 +70,9 @@ 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 {} \;
+sed -i "s|DATA_DIR \"/preview.ui\"|\"\/usr\/share\/apps\/kcm-gtk-module\/preview.ui\"|"g gtk3proxies/preview3.c
+sed -i "s|DATA_DIR \"/preview.ui\"|\"\/usr\/share\/apps\/kcm-gtk-module\/preview.ui\"|"g gtkproxies/preview.c
+
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=$LIBDIRSUFFIX ..