From 973c37ce44efdfec4f02ce31925a2fffb956c3be Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Fri, 19 May 2023 15:38:46 +0100 Subject: [PATCH] libcomps: clean up DEPENDS 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. (From OE-Core rev: 035996470bebf909146681bbaf276831bb7be17d) Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-devtools/libcomps/libcomps_0.1.19.bb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/recipes-devtools/libcomps/libcomps_0.1.19.bb b/meta/recipes-devtools/libcomps/libcomps_0.1.19.bb index f8063d9400..e362e8e108 100644 --- a/meta/recipes-devtools/libcomps/libcomps_0.1.19.bb +++ b/meta/recipes-devtools/libcomps/libcomps_0.1.19.bb @@ -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" -