diff mbox series

[meta-oe,meta-python,01/12] qhull: Add recipe

Message ID 20250411004201.3826913-1-raj.khem@gmail.com
State New
Headers show
Series [meta-oe,meta-python,01/12] qhull: Add recipe | expand

Commit Message

Khem Raj April 11, 2025, 12:41 a.m. UTC
This recipe is needed to build latest version of matplotlib python module
when internal vendored modules are not used which is preferred here, avoids
complicating recipe to counter meson's wrap logic

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Rob Woolley <rob.woolley@windriver.com>
---
 .../recipes-extended/qhull/qhull_2020.2.bb    | 23 +++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 meta-oe/recipes-extended/qhull/qhull_2020.2.bb
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/qhull/qhull_2020.2.bb b/meta-oe/recipes-extended/qhull/qhull_2020.2.bb
new file mode 100644
index 0000000000..4533b0a337
--- /dev/null
+++ b/meta-oe/recipes-extended/qhull/qhull_2020.2.bb
@@ -0,0 +1,23 @@ 
+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"
+SRC_URI[sha256sum] = "b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e"
+
+CFLAGS += "-fPIC"
+
+EXTRA_OECMAKE += "\
+    -DCMAKE_SKIP_RPATH=ON \
+"
+
+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} \
+"