summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild b/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild
index 7132a0064b..cd15a4d5a3 100644
--- a/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild
+++ b/libraries/qt5-styleplugins/qt5-styleplugins.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=qt5-styleplugins
VERSION=${VERSION:-5.0.0.20170112}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=qtstyleplugins
@@ -72,6 +72,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 {} \;
+# Force linking against Qt5DBus or build will fail
+sed -i "s|2.0$|2.0 Qt5DBus|" src/plugins/platformthemes/gtk2/gtk2.pro
+
QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \
QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \
PREFIX=/usr \