summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python3-pyqt5_5.15.1.bbappendDISABLED
diff options
context:
space:
mode:
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}/*
+}