summaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-08 11:54:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-09 09:35:19 +0700
commitd55a40ce53a54e7855c52c587eb320d64c324df8 (patch)
tree4c87359d2b4ab0599f45bb68317d465486e824fe /academic
parent0a0413695ae2feb83cf52d461ebca19f05a232c0 (diff)
downloadslackbuilds-d55a40ce53a54e7855c52c587eb320d64c324df8.tar.gz
academic/openboard: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/openboard/openboard.SlackBuild1
-rw-r--r--academic/openboard/quazip.patch6
2 files changed, 4 insertions, 3 deletions
diff --git a/academic/openboard/openboard.SlackBuild b/academic/openboard/openboard.SlackBuild
index fed1c282dc..3cd4c737bc 100644
--- a/academic/openboard/openboard.SlackBuild
+++ b/academic/openboard/openboard.SlackBuild
@@ -83,6 +83,7 @@ find -L . \
# Thanks to ArchLinux for these patches
patch -p1 < $CWD/quazip.patch
+sed -i "s|lquazip5|lquazip1-qt5|g" OpenBoard.pro
# Patch to run in a window
patch -p1 < $CWD/run-in-a-window.patch
diff --git a/academic/openboard/quazip.patch b/academic/openboard/quazip.patch
index a5b121549d..678e22fa55 100644
--- a/academic/openboard/quazip.patch
+++ b/academic/openboard/quazip.patch
@@ -5,7 +5,7 @@
}
-LIBS += "-L$$THIRD_PARTY_PATH/quazip/lib/$$SUB_DIR" "-lquazip"
-+LIBS += "-lquazip5"
++LIBS += "-lquazip1-qt5"
QT += xml xmlpatterns core
QT += gui
@@ -17,7 +17,7 @@
-INCLUDEPATH += $$THIRD_PARTY_PATH/quazip/
-include($$THIRD_PARTY_PATH/quazip/quazip.pri)
-
-+INCLUDEPATH += /usr/include/quazip5/
++INCLUDEPATH += /usr/include/QuaZip-Qt5-1.1/quazip/
SOURCES += \
src/UBCFFAdaptor.cpp
@@ -35,7 +35,7 @@
LIBS += -lX11
LIBS += -lquazip5
- INCLUDEPATH += "/usr/include/quazip"
-+ INCLUDEPATH += "/usr/include/quazip5"
++ INCLUDEPATH += "/usr/include/QuaZip-Qt5-1.1/quazip"
LIBS += -lpoppler
INCLUDEPATH += "/usr/include/poppler"