summarylogtreecommitdiffstats
path: root/krita-pyqt5.11.patch
diff options
context:
space:
mode:
authorkitsunyan2018-07-12 18:41:59 +0300
committerkitsunyan2018-07-12 18:41:59 +0300
commitee2b8b7b1132caa3fe492b289b627c2271306cee (patch)
treeafc390630632992692b5a70a05a89719c2e95d2f /krita-pyqt5.11.patch
parent67133461c4bc12fdb64595b551e00dd0cf410742 (diff)
downloadaur-ee2b8b7b1132caa3fe492b289b627c2271306cee.tar.gz
upgpkg: krita-minimal 4.1.0-2
Diffstat (limited to 'krita-pyqt5.11.patch')
-rw-r--r--krita-pyqt5.11.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/krita-pyqt5.11.patch b/krita-pyqt5.11.patch
new file mode 100644
index 00000000000..004fbec0c32
--- /dev/null
+++ b/krita-pyqt5.11.patch
@@ -0,0 +1,19 @@
+diff --git a/plugins/extensions/pykrita/sip/CMakeLists.txt b/plugins/extensions/pykrita/sip/CMakeLists.txt
+index 1f47f0af1c..d5a24f86ee 100644
+--- a/plugins/extensions/pykrita/sip/CMakeLists.txt
++++ b/plugins/extensions/pykrita/sip/CMakeLists.txt
+@@ -12,9 +12,13 @@ set(SIP_INCLUDES
+ ${PYQT_SIP_DIR_OVERRIDE}
+ ./krita)
+
++if(${PYQT5_VERSION} STRGREATER_EQUAL "050b00")
++ set(SIP_NAME -n PyQt5.sip)
++endif()
++
+ set(SIP_CONCAT_PARTS 1)
+ set(SIP_TAGS ALL WS_X11 ${PYQT5_VERSION_TAG})
+-set(SIP_EXTRA_OPTIONS -g -x PyKDE_QVector)
++set(SIP_EXTRA_OPTIONS -g -x PyKDE_QVector ${SIP_NAME})
+
+ set(PYTHON_SITE_PACKAGES_INSTALL_DIR ${LIB_INSTALL_DIR}/krita-python-libs)
+ file(GLOB PYKRITA_KRITA_sip_files ./krita/*.sip)