aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python3-pyqt5_5.15.1.bbappend
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-devtools/python/python3-pyqt5_5.15.1.bbappend')
-rw-r--r--recipes-devtools/python/python3-pyqt5_5.15.1.bbappend9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-devtools/python/python3-pyqt5_5.15.1.bbappend b/recipes-devtools/python/python3-pyqt5_5.15.1.bbappend
new file mode 100644
index 000000000..408c48b30
--- /dev/null
+++ b/recipes-devtools/python/python3-pyqt5_5.15.1.bbappend
@@ -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}/*
+}