summarylogtreecommitdiffstats
path: root/drop_ThirdParty_repo.patch
diff options
context:
space:
mode:
Diffstat (limited to 'drop_ThirdParty_repo.patch')
-rw-r--r--drop_ThirdParty_repo.patch88
1 files changed, 88 insertions, 0 deletions
diff --git a/drop_ThirdParty_repo.patch b/drop_ThirdParty_repo.patch
new file mode 100644
index 000000000000..058ede8829f8
--- /dev/null
+++ b/drop_ThirdParty_repo.patch
@@ -0,0 +1,88 @@
+diff -Naur OpenBoard-1.5.3/libs.pri OpenBoard-1.5.3-new/libs.pri
+--- OpenBoard-1.5.3/libs.pri 1970-01-01 01:00:00.000000000 +0100
++++ OpenBoard-1.5.3-new/libs.pri 2019-04-12 14:26:16.566266531 +0200
+@@ -0,0 +1,72 @@
++
++linux-g++ {
++ SUB_LIB = "linux"
++}
++
++linux-g++-32 {
++ SUB_LIB = "linux"
++}
++linux-g++-64 {
++ SUB_LIB = "linux"
++}
++
++macx {
++ SUB_LIB = "macx"
++}
++
++win32 {
++ CONFIG( debug, debug|release ) {
++ SUB_LIB = "win32/debug"
++ } else {
++ SUB_LIB = "win32/release"
++ }
++}
++
++QUAZIP_DIR = "/usr"
++LIBS += "-lquazip5"
++
++LIBS += "-lpoppler"
++INCLUDEPATH += "/usr/include/poppler"
++
++
++linux-g++ {
++ LIBS += -lpaper
++}
++linux-g++-32 {
++ LIBS += -lpaper
++}
++linux-g++-64 {
++ LIBS += -lpaper
++}
++
++win32 {
++ INCLUDEPATH += "$$PWD/openssl/openssl-1.0.2-win32/include"
++ QMAKE_LIBDIR += "$$PWD/openssl/openssl-1.0.2-win32/lib/static"
++
++ CONFIG( debug, debug|release ) {
++ LIBS += -llibeay32
++ LIBS += -lMsvcrtd
++ } else {
++ LIBS += -llibeay32MT
++ LIBS += -lMsvcrt
++ }
++
++ LIBS += -lWmvcore
++ LIBS += -lWinmm
++
++ # need those link if we want to change default printer and print usind shell command
++ LIBS += "-L$$PWD/microsoft/lib" "-lWinspool"
++ LIBS += "-L$$PWD/microsoft/lib" "-lshell32"
++}
++
++macx {
++ LIBS += "-framework QuartzCore"
++ LIBS += "-framework AudioToolbox"
++ LIBS += "-framework CoreAudio"
++ LIBS += "-framework ApplicationServices"
++ LIBS += "-framework Cocoa"
++
++ LIBS += "-lcrypto"
++}
++
++
+diff -Naur OpenBoard-1.5.3/OpenBoard.pro OpenBoard-1.5.3-new/OpenBoard.pro
+--- OpenBoard-1.5.3/OpenBoard.pro 2019-04-10 09:04:25.000000000 +0200
++++ OpenBoard-1.5.3-new/OpenBoard.pro 2019-04-12 14:26:34.289438050 +0200
+@@ -45,7 +45,7 @@
+
+ INCLUDEPATH += src
+
+-include($$THIRD_PARTY_PATH/libs.pri)
++include(libs.pri)
+ include(src/adaptors/adaptors.pri)
+ include(src/api/api.pri)
+ include(src/board/board.pri)