slackbuilds_ponce/academic/openboard/quazip.patch
Willy Sudiarto Raharjo 7c0ac5807b
academic/openboard: Updated for version 1.6.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
2022-06-11 08:59:09 +07:00

42 lines
1.3 KiB
Diff

--- OpenBoard-1.6.0a/plugins/cffadaptor/UBCFFAdaptor.pro.orig 2020-04-07 08:26:29.240677360 +0700
+++ OpenBoard-1.6.0a/plugins/cffadaptor/UBCFFAdaptor.pro 2020-04-07 08:27:03.695993158 +0700
@@ -39,7 +39,7 @@
QMAKE_POST_LINK += bash postScript_mac.sh "$$DESTDIR" "$$SANKORE_DIR/$$BUILD_DIR/product/Open-Sankore.app/Contents/MacOS"
}
-LIBS += "-L$$THIRD_PARTY_PATH/quazip/lib/$$SUB_DIR" "-lquazip"
+LIBS += "-lquazip1-qt5"
QT += xml xmlpatterns core
QT += gui
@@ -51,10 +51,7 @@
INCLUDEPATH += src
-DEPENDPATH += $$THIRD_PARTY_PATH/quazip/
-INCLUDEPATH += $$THIRD_PARTY_PATH/quazip/
-include($$THIRD_PARTY_PATH/quazip/quazip.pri)
-
+INCLUDEPATH += /usr/include/QuaZip-Qt5-1.1/quazip/
SOURCES += \
src/UBCFFAdaptor.cpp
@@ -66,4 +63,4 @@
src/UBCFFConstants.h
RESOURCES += \
- resources/resources.qrc
\ No newline at end of file
+ resources/resources.qrc
--- OpenBoard-1.6.0a3/OpenBoard.pro.orig 2020-07-20 08:23:09.859918480 +0700
+++ OpenBoard-1.6.0a3/OpenBoard.pro 2020-07-20 08:23:17.762002419 +0700
@@ -434,7 +434,7 @@
#LIBS += -lprofiler
LIBS += -lX11
LIBS += -lquazip5
- INCLUDEPATH += "/usr/include/quazip5"
+ INCLUDEPATH += "/usr/include/QuaZip-Qt5-1.1/quazip"
LIBS += -lpoppler
INCLUDEPATH += "/usr/include/poppler"