Skip to contentSkip to conversation

libcomps: clean up DEPENDS

PATCH New [email protected] 1 participant 1 message May 22, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libcomps: clean up DEPENDS

From: Ross Burton <[email protected]>

This recipe depends on zlib so add that explicitly.

Disable the tests and remove the dependency on libcheck, as we don't install them.

Remove obsolete PYTHON_DESIRED assignment that isn't used anywhere.

Explicitly disable the documentation for now.

---
 meta/recipes-devtools/libcomps/libcomps_0.1.19.bb | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
meta/recipes-devtools/libcomps/libcomps_0.1.19.bb +5 -3
index f8063d94007..e362e8e1081 100644
@@ -15,10 +15,12 @@ S = "${WORKDIR}/git"
 
 inherit cmake setuptools3-base
 
-DEPENDS += "libxml2 expat libcheck"
+DEPENDS = "expat libxml2 zlib"
+
+EXTRA_OECMAKE = "-DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} \
+                 -DENABLE_DOCS=OFF \
+                 -DENABLE_TESTS=OFF"
 
-EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3"
 OECMAKE_SOURCEPATH = "${S}/libcomps"
 
 BBCLASSEXTEND = "native nativesdk"
-
Signature · 1 line
2.34.1