From: Scott Murray Date: Mon, 30 Oct 2023 21:47:48 +0000 (-0400) Subject: python3-pyqt5: enable SVG support X-Git-Tag: 16.91.1~10 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl-demo.git;a=commitdiff_plain;h=541493df5008c92acd42a2bfa01e8deb24774e11 python3-pyqt5: enable SVG support Add a bbappend for python3-pyqt5 to enable its QtSvg module that exposes Qt's SVG support. This is required for agl-demo-control-panel. Bug-AGL: SPEC-4952 Change-Id: Ic8ae0816227306139b6e14cbe6974bcfeffcef7f Signed-off-by: Scott Murray Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29345 Reviewed-by: Jan-Simon Moeller ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account Reviewed-by: Lisandro Perez Meyer ci-image-build: Jenkins Job builder account --- 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}/* +}