diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-08 11:54:34 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-09 09:35:19 +0700 |
commit | d55a40ce53a54e7855c52c587eb320d64c324df8 (patch) | |
tree | 4c87359d2b4ab0599f45bb68317d465486e824fe | |
parent | 0a0413695ae2feb83cf52d461ebca19f05a232c0 (diff) |
academic/openboard: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | academic/openboard/openboard.SlackBuild | 1 | ||||
-rw-r--r-- | academic/openboard/quazip.patch | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/academic/openboard/openboard.SlackBuild b/academic/openboard/openboard.SlackBuild index fed1c282dce78..3cd4c737bcd6e 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 a5b121549dbc8..678e22fa55d49 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" |