diff --git a/recipes-misc/recipes-bindings/python3-pyqt5/0001-Make-sure-to-find-python3-sip-code-generator.patch b/recipes-misc/recipes-bindings/python3-pyqt5/0001-Make-sure-to-find-python3-sip-code-generator.patch new file mode 100644 index 00000000..d0286e08 --- /dev/null +++ b/recipes-misc/recipes-bindings/python3-pyqt5/0001-Make-sure-to-find-python3-sip-code-generator.patch @@ -0,0 +1,31 @@ +From f583921012ed1f4e853f41d4fd3d95d1a819ac03 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Andreas=20M=C3=BCller?= +Date: Sat, 4 Aug 2018 02:48:14 +0200 +Subject: [PATCH] Make sure to find python3 sip code generator +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Upstream-Status: Inappropriate [configuration] + +Signed-off-by: Andreas Müller +--- + configure.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.py b/configure.py +index a263efb..daefc0e 100644 +--- a/configure.py ++++ b/configure.py +@@ -522,7 +522,7 @@ class TargetConfiguration: + self.qtconf_prefix = '' + self.qt_shared = False + self.qt_version = 0 +- self.sip = self._find_exe('sip5', 'sip') ++ self.sip = self._find_exe('sip3') + self.sip_h_version = None + self.sip_inc_dir = self.py_venv_inc_dir + self.static = False +-- +2.14.4 + diff --git a/recipes-misc/recipes-bindings/python3-pyqt5_5.9.2.bb b/recipes-misc/recipes-bindings/python3-pyqt5_5.9.2.bb index 7c156a43..f0deb894 100644 --- a/recipes-misc/recipes-bindings/python3-pyqt5_5.9.2.bb +++ b/recipes-misc/recipes-bindings/python3-pyqt5_5.9.2.bb @@ -7,6 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" SRC_URI = "\ https://sourceforge.net/projects/pyqt/files/PyQt5/PyQt-${PV}/PyQt5_gpl-${PV}.tar.gz \ + file://0001-Make-sure-to-find-python3-sip-code-generator.patch \ " SRC_URI[md5sum] = "33d6d2ab8183da17ac18b8132a4b278e" SRC_URI[sha256sum] = "c190dac598c97b0113ca5e7a37c71c623f02d1d713088addfacac4acfa4b8394" @@ -15,7 +16,7 @@ PE = "1" inherit qmake5 python3native -DEPENDS += "sip sip-native sip3-native qtbase python3" +DEPENDS += "sip3-native sip3 qtbase python3" DEPENDS_append_class-target = "qtsvg" S = "${WORKDIR}/PyQt5_gpl-${PV}"