summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-20 21:53:11 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-23 20:52:35 +0100
commit76147231ad2fcf672561c209c480bd2636f2cd61 (patch)
tree4b161eded4291299d7ec82c034e737515f40df09 /app-office/texstudio/files
parentapp-misc/ckb: Drop 0.4.2-r2 and 0.4.3-r1 (diff)
downloadgentoo-76147231ad2fcf672561c209c480bd2636f2cd61.tar.gz
gentoo-76147231ad2fcf672561c209c480bd2636f2cd61.tar.bz2
gentoo-76147231ad2fcf672561c209c480bd2636f2cd61.zip
app-office/texstudio: Support build with >=dev-libs/quazip-1.0
Drop prefix.eclass, using pkgconfig for dev-libs/quazip:0/0 instead. Raise minimum dev-libs/quazip version to first w/o IUSE=qt5, cleanup usedep. Raise minimum media-libs/phonon version to first w/o IUSE=qt5, cleanup usedep. Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-office/texstudio/files')
-rw-r--r--app-office/texstudio/files/texstudio-3.0.5-quazip1.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-office/texstudio/files/texstudio-3.0.5-quazip1.patch b/app-office/texstudio/files/texstudio-3.0.5-quazip1.patch
new file mode 100644
index 000000000000..a2a9033abd66
--- /dev/null
+++ b/app-office/texstudio/files/texstudio-3.0.5-quazip1.patch
@@ -0,0 +1,19 @@
+Fix build with QuaZip-1.0.
+
+--- a/texstudio.pro
++++ b/texstudio.pro
+@@ -369,11 +369,9 @@
+ isEmpty(USE_SYSTEM_QUAZIP) {
+ include(src/quazip/quazip/quazip.pri)
+ } else {
+- 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
+ }
+
+ include(src/pdfviewer/pdfviewer.pri)