aboutsummaryrefslogtreecommitdiff
path: root/office/xournalpp/xournalpp.SlackBuild
diff options
context:
space:
mode:
authorCristiano Urban <cristiano.urban.slack@gmail.com>2023-07-31 08:27:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-07-31 08:27:05 +0700
commit4e4fbdd34ee64fe1b45f6dc35e6455afa1fbfd27 (patch)
tree607276bd00f452a1feebb2609cd65ed099fec339 /office/xournalpp/xournalpp.SlackBuild
parentee2e8fa0898b43339a7dffa757b555fad11d45a2 (diff)
office/xournalpp: Updated for version 1.2.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/xournalpp/xournalpp.SlackBuild')
-rw-r--r--office/xournalpp/xournalpp.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/office/xournalpp/xournalpp.SlackBuild b/office/xournalpp/xournalpp.SlackBuild
index a70d64b75f3b1..bbcbf03c5a809 100644
--- a/office/xournalpp/xournalpp.SlackBuild
+++ b/office/xournalpp/xournalpp.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=xournalpp
-VERSION=${VERSION:-1.1.3}
+VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,6 +79,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 {} \;
+# Set the right Lua version to use, otherwise it will use an older
+# version, if more than one installed.
+# Thanks to fourtysixandtwo (fourtysixandtwo@sliderr.net)
+sed -i 's/^find_package(Lua/find_package(Lua 5.3/' CMakeLists.txt
+
mkdir -p build
cd build
cmake \