aboutsummaryrefslogtreecommitdiff
path: root/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild')
-rw-r--r--libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild b/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
index d51477f14f26..d6fea8a7164c 100644
--- a/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
+++ b/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
@@ -1,8 +1,9 @@
#!/bin/sh
#
-# Slackware build script for lxqt-build-tools.
+# Slackware build script for lxqt-build-tools
#
# Copyright 2016-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2018 Matteo Bernardini, Pisa, Italy.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM="lxqt-build-tools"
-VERSION=${VERSION:-0.3.2}
+VERSION=${VERSION:-0.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,6 +70,11 @@ 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 {} \;
+# glib2 >= 2.50 is really needed to build all of the LXQt components, but we
+# can't have them on 14.2 because we lack kde framework 5, so we force a
+# lower requirement to let us use this for what we can
+sed -i "s|2\.50|2.46|" CMakeLists.txt
+
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release