aboutsummaryrefslogtreecommitdiff
path: root/academic/openboard
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 /academic/openboard
parent2847cb713ddd258fc7b6fdcbb39bb3cae24915fe (diff)
academic/openboard: Fix build for current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/openboard')
-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 3cd4c737bcd6e..d6fa799be0c4f 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