Yoann Congal e079466992
qhull: add native variant
Since commit 4042e529b9cf ("python3-matplotlib: Upgrade to 3.10.1"),
python3-matplotlib depends on qhull and has native variant, so qhull
does need the native variant as well.

Fixes this warning from AB[0]:
WARNING: Nothing PROVIDES 'qhull-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb DEPENDS on or otherwise requires it). Close matches:
[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-25 17:12:12 -07:00

30 lines
925 B
BlitzBasic

DESCRIPTION = "library to compute convex hulls, Delaunay triangulations and Voronoi diagrams."
HOMEPAGE = "http://www.qhull.org/"
SECTION = "libs"
LICENSE = "Qhull"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=484ee0cacf0472e8b40225b116f6296c"
SRC_URI = "http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz \
file://0001-Use-LIB_INSTALL_DIR-for-cmake-and-pkgconfig-files-to.patch \
file://0002-allow-build-with-cmake-4.patch \
"
SRC_URI[sha256sum] = "b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e"
CFLAGS += "-fPIC"
EXTRA_OECMAKE += "\
-DCMAKE_SKIP_RPATH=ON \
-DLIB_INSTALL_DIR=${baselib} \
"
inherit cmake
# The QhullTargets-noconfig.cmake checks for the executables despite not
# needing to execute them for the build. Staging bindir to the sysroot
# allows us to pass the check without building qhull natively
SYSROOT_DIRS:append = " \
${bindir} \
"
BBCLASSEXTEND = "native"