summaryrefslogtreecommitdiff
path: root/libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-03-16 09:20:28 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:55 +0700
commit9626c432d4af05ecadba3f249b8cb5043aec256b (patch)
treef907b8099f4b8df9f9c5ee3c0bd5ff5dc02c50d3 /libraries/lxqt-build-tools/lxqt-build-tools.SlackBuild
parenta243c2b7204d8054103c24d4e558a0c72e4283cc (diff)
downloadslackbuilds-9626c432d4af05ecadba3f249b8cb5043aec256b.tar.gz
libraries/lxqt-build-tools: Updated for version 0.4.0.
Edinaldo left me the maintainership (via mail) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 d51477f14f..d6fea8a716 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