summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-11 12:57:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-16 12:12:48 +0700
commitae290746a042ce27480fd19be799dfd7d652edaf (patch)
treea68dfa1c73e4e7d5540dcb4602d79c7c74507ba4
parent2847cb713ddd258fc7b6fdcbb39bb3cae24915fe (diff)
downloadslackbuilds-ae290746a042ce27480fd19be799dfd7d652edaf.tar.gz
academic/openboard: Fix build for current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--academic/openboard/openboard.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/academic/openboard/openboard.SlackBuild b/academic/openboard/openboard.SlackBuild
index 3cd4c737bc..d6fa799be0 100644
--- a/academic/openboard/openboard.SlackBuild
+++ b/academic/openboard/openboard.SlackBuild
@@ -85,6 +85,11 @@ find -L . \
patch -p1 < $CWD/quazip.patch
sed -i "s|lquazip5|lquazip1-qt5|g" OpenBoard.pro
+# Add changes for current
+# Thanks to Robby Workman for the idea
+QUAZIPVER=`pkg-config --modversion quazip1-qt5`
+sed -i "s|QuaZip-Qt5-1.1|QuaZip-Qt5-$QUAZIPVER|g" OpenBoard.pro plugins/cffadaptor/UBCFFAdaptor.pro
+
# Patch to run in a window
patch -p1 < $CWD/run-in-a-window.patch