From 541493df5008c92acd42a2bfa01e8deb24774e11 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Mon, 30 Oct 2023 17:47:48 -0400 Subject: 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 --- recipes-devtools/python/python3-pyqt5_5.15.1.bbappend | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 recipes-devtools/python/python3-pyqt5_5.15.1.bbappend (limited to 'recipes-devtools/python/python3-pyqt5_5.15.1.bbappend') 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}/* +} -- cgit 1.2.3-korg