mirror of
https://github.com/termux/termux-packages
synced 2024-06-25 14:37:08 +00:00
20 lines
688 B
Diff
20 lines
688 B
Diff
Borrowed from https://github.com/gentoo/gentoo/raw/e70f62a2157efbb0914a18c5a4f412c79df45995/app-office/texstudio/files/texstudio-3.0.5-quazip1.patch
|
|
|
|
--- a/texstudio.pro
|
|
+++ b/texstudio.pro
|
|
@@ -370,11 +370,9 @@
|
|
PKGCONFIG += quazip1-qt6
|
|
}
|
|
!versionGreaterOrEqual($$QT_VERSION, "6.0.0") {
|
|
- message(System quazip5)
|
|
- isEmpty(QUAZIP_LIB): QUAZIP_LIB = -lquazip5
|
|
- isEmpty(QUAZIP_INCLUDE): QUAZIP_INCLUDE = $${PREFIX}/include/quazip5
|
|
- INCLUDEPATH += $${QUAZIP_INCLUDE}
|
|
- LIBS += $${QUAZIP_LIB}
|
|
+ message(System QuaZip)
|
|
+ CONFIG += link_pkgconfig
|
|
+ PKGCONFIG += quazip1-qt5
|
|
}
|
|
}
|
|
|