summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python3-pyqt5_5.15.1.bbappendDISABLED
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-04-24 09:04:39 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-04-24 09:04:39 +0000
commitb643212ec628010277c0f98480c9fb6a44488dfb (patch)
treeb88abe770ef80aaefc69824502b638427749dfff /recipes-devtools/python/python3-pyqt5_5.15.1.bbappendDISABLED
parent5bb465ef396b66616bc18a116aba3257f0430670 (diff)
WIP: Prepare for QT6sandbox/jsmoeller/qt6
Change-Id: Icc01644db2d0ec22756f2194b9d48dbae60de8ff Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-devtools/python/python3-pyqt5_5.15.1.bbappendDISABLED')
-rw-r--r--recipes-devtools/python/python3-pyqt5_5.15.1.bbappendDISABLED9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-devtools/python/python3-pyqt5_5.15.1.bbappendDISABLED b/recipes-devtools/python/python3-pyqt5_5.15.1.bbappendDISABLED
new file mode 100644
index 000000000..408c48b30
--- /dev/null
+++ b/recipes-devtools/python/python3-pyqt5_5.15.1.bbappendDISABLED
@@ -0,0 +1,9 @@
+# Enable SVG support
+DEPENDS:append = " qtsvg"
+PYQT_MODULES:append = " QtSvg"
+
+# Fix python interpreter paths in pyrcc5, etc., adapted from newer upstream
+# recipe
+do_install:append() {
+ sed -i "s,^exec .*python${PYTHON_BASEVERSION},exec ${bindir}/python3," ${D}/${bindir}/*
+}