package/python-matplotlib: add QT5 support

python-matplotlib may be used in qt5 application. This patch add option to
enable qt5. Since this backend is automatically enabled when pyqt5 is detected,
list dependencies is simply an updated (no enable/disable options).

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Gwenhael Goavec-Merou
2020-07-27 15:00:22 +02:00
committed by Yann E. MORIN
parent f202b23691
commit 4b6ec56444
2 changed files with 16 additions and 0 deletions

View File

@@ -13,4 +13,8 @@ PYTHON_MATPLOTLIB_DEPENDENCIES = host-pkgconf freetype host-python-numpy \
libpng python-cycler
PYTHON_MATPLOTLIB_SETUP_TYPE = setuptools
ifeq ($(BR2_PACKAGE_PYTHON_MATPLOTLIB_QT),y)
PYTHON_MATPLOTLIB_DEPENDENCIES += python-pyqt5
endif
$(eval $(python-package))