summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python3-pyqt5_agldemo.inc
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-05-29 07:35:28 -0400
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2024-05-29 11:44:39 +0000
commitd7d010de6b39245fe54c271b022caa931ba730ae (patch)
tree57364a96a88a83d8b3f95c358c510b4a0426bf4a /recipes-devtools/python/python3-pyqt5_agldemo.inc
parentbdab49a1feb441a4c91a7b0ece3cc6b3fd6867a8 (diff)
Update bbappends for scarthgap 5.0.1
Make python3-grpcio and python3-pyqt5 bbappends wildcards to handle version bump in scarthgap 5.0.1 and any future updates. Also fix python3-pyqt5 bbappend for Yocto layer compatibility requirements. Bug-AGL: SPEC-5149 Change-Id: Ie3b88f875c7186d54c470173ebb23472ed0bb4ed Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29952 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'recipes-devtools/python/python3-pyqt5_agldemo.inc')
-rw-r--r--recipes-devtools/python/python3-pyqt5_agldemo.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-devtools/python/python3-pyqt5_agldemo.inc b/recipes-devtools/python/python3-pyqt5_agldemo.inc
new file mode 100644
index 00000000..408c48b3
--- /dev/null
+++ b/recipes-devtools/python/python3-pyqt5_agldemo.inc
@@ -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}/*
+}