summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/python/python3-pyqt5_5.15.%.bbappend
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-04-23 12:13:15 -0400
committerScott Murray <scott.murray@konsulko.com>2024-04-24 15:49:28 +0000
commit07eb93e781070f368a6914a0aa7be93edd44b8e4 (patch)
tree678219b4efddc03120d155c208245b6261bb0e53 /recipes-devtools/python/python3-pyqt5_5.15.%.bbappend
parent5bb465ef396b66616bc18a116aba3257f0430670 (diff)
python3-pyqt5: update bbappend
Rename python3-pyqt5 bbappend to handle version bump in meta-qt5. Bug-AGL: SPEC-5115 Change-Id: Ibb3d85c315e0336e790dad79ce4a95af8b2bce61 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29846 ci-image-build: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account
Diffstat (limited to 'recipes-devtools/python/python3-pyqt5_5.15.%.bbappend')
-rw-r--r--recipes-devtools/python/python3-pyqt5_5.15.%.bbappend9
1 files changed, 9 insertions, 0 deletions
diff --git a/recipes-devtools/python/python3-pyqt5_5.15.%.bbappend b/recipes-devtools/python/python3-pyqt5_5.15.%.bbappend
new file mode 100644
index 000000000..408c48b30
--- /dev/null
+++ b/recipes-devtools/python/python3-pyqt5_5.15.%.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}/*
+}