aboutsummaryrefslogtreecommitdiff
path: root/academic/openboard/quazip.patch
blob: a5b121549dbc85c6fca25fa94f4b01feccb146c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- 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     += "-lquazip5"
 
 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/quazip5/
 
 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/quazip"
+    INCLUDEPATH += "/usr/include/quazip5"
 
     LIBS += -lpoppler
     INCLUDEPATH += "/usr/include/poppler"