From: Alexander Kanavin <[email protected]> Tweak ptests installation.
Signed-off-by: Alexander Kanavin <[email protected]> --- .../json-c/{json-c_0.18.bb => json-c_0.19.bb} | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename meta/recipes-devtools/json-c/{json-c_0.18.bb => json-c_0.19.bb} (84%) diff --git a/meta/recipes-devtools/json-c/json-c_0.18.bb b/meta/recipes-devtools/json-c/json-c_0.19.bb similarity index 84% rename from meta/recipes-devtools/json-c/json-c_0.18.bb rename to meta/recipes-devtools/json-c/json-c_0.19.bb index c112aacf4b..738566d303 100644 --- a/meta/recipes-devtools/json-c/json-c_0.18.bb +++ b/meta/recipes-devtools/json-c/json-c_0.19.bb @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=de54b60fbbc35123ba193fea8ee216f2" SRC_URI = "https://s3.amazonaws.com/json-c_releases/releases/${BP}.tar.gz \ file://run-ptest \ " -SRC_URI[sha256sum] = "876ab046479166b869afc6896d288183bbc0e5843f141200c677b3e8dfb11724" +SRC_URI[sha256sum] = "37ad0249902e301bd9052bf712e511fcc6acff4ecaad4b5900aad9ce564e26de" # NVD uses full tag name including date CVE_VERSION = "0.18-20240915" @@ -19,20 +19,22 @@ UPSTREAM_CHECK_REGEX = "json-c-(?P<pver>\d+(\.\d+)+)-\d+" RPROVIDES:${PN} = "libjson" -# Apps aren't needed/packaged and their CMakeLists.txt is incompatible with CMake 4+. EXTRA_OECMAKE = "-DDISABLE_WERROR=ON \ - -DBUILD_APPS=OFF \ " inherit cmake ptest do_install_ptest() { install -d ${D}/${PTEST_PATH}/tests + install -d ${D}/${PTEST_PATH}/apps install ${B}/tests/test* ${D}/${PTEST_PATH}/tests install ${S}/tests/*.test ${D}/${PTEST_PATH}/tests install ${S}/tests/*.expected ${D}/${PTEST_PATH}/tests install ${S}/tests/test-defs.sh ${D}/${PTEST_PATH}/tests install ${S}/tests/*json ${D}/${PTEST_PATH}/tests + install ${B}/apps/json_parse ${D}/${PTEST_PATH}/apps } +RDEPENDS:${PN}-ptest += "xxd" + BBCLASSEXTEND = "native nativesdk" -- 2.47.3
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#240303): https://lists.openembedded.org/g/openembedded-core/message/240303 Mute This Topic: https://lists.openembedded.org/mt/120143439/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
