23ca2efef1
- Remove upstreamed patches - Add BR2_PACKAGE_PYTHON_CERTIFI and BR2_PACKAGE_QHULL as dependencies - make DEPENDENCIES one per line and sort alphabetically - Add a new file: setup.cfg. This file is needed to force matplotlib to use the system-provided freetype and qhull, and to disable lto. The setup.cfg file is copied to the source directory before configuring. LTO must be disabled or else compile errors such as: "Relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZSt3hexRSt8ios_base' which may bind externally can not be used when making a shared object; recompile with -fPIC" Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
config BR2_PACKAGE_PYTHON_MATPLOTLIB
|
|
bool "python-matplotlib"
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_PACKAGE_PYTHON3
|
|
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
|
|
select BR2_PACKAGE_FREETYPE # runtime
|
|
select BR2_PACKAGE_LIBPNG # runtime
|
|
select BR2_PACKAGE_PYTHON_CERTIFI # runtime
|
|
select BR2_PACKAGE_PYTHON_CYCLER
|
|
select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
|
|
select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
|
|
select BR2_PACKAGE_PYTHON_KIWISOLVER # runtime
|
|
select BR2_PACKAGE_PYTHON_NUMPY # runtime
|
|
select BR2_PACKAGE_PYTHON_PYPARSING # runtime
|
|
select BR2_PACKAGE_PYTHON3_ZLIB # runtime
|
|
select BR2_PACKAGE_QHULL
|
|
select BR2_PACKAGE_ZLIB # runtime
|
|
help
|
|
Matplotlib strives to produce publication quality 2D
|
|
graphics for interactive graphing, scientific publishing,
|
|
user interface development and web application servers
|
|
targeting multiple user interfaces and hardcopy output
|
|
formats.
|
|
|
|
https://matplotlib.org/
|
|
|
|
if BR2_PACKAGE_PYTHON_MATPLOTLIB
|
|
|
|
config BR2_PACKAGE_PYTHON_MATPLOTLIB_QT
|
|
bool "qt display"
|
|
depends on BR2_PACKAGE_QT5 # python-pyqt5
|
|
select BR2_PACKAGE_PYTHON_PYQT5
|
|
select BR2_PACKAGE_QT5BASE_FONTCONFIG
|
|
select BR2_PACKAGE_QT5BASE_WIDGETS
|
|
|
|
endif
|
|
|
|
comment "python-matplotlib needs a glibc or musl toolchain w/ C++"
|
|
depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \
|
|
!BR2_INSTALL_LIBSTDCPP
|