From 3fe54f61accf0f5c96bc29387a4a990e78798720 Mon Sep 17 00:00:00 2001 From: Jose Quaresma Date: Wed, 6 May 2026 12:15:49 +0100 Subject: [PATCH] libcamera: add new package for lc-compliance lc-compliance is a libcamera compliance testing tool designed to ensure that cameras and their drivers function correctly within the software stack, acting as a functional system test to validate real-world use cases. This tool helps detect regressions and verifies that the libcamera API is being used correctly. Signed-off-by: Jose Quaresma Signed-off-by: Khem Raj --- .../recipes-multimedia/libcamera/libcamera_0.6.0.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb index 1f9e21e45b..f1e138c4c7 100644 --- a/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb +++ b/meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb @@ -21,10 +21,11 @@ PE = "1" DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml" DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" -PACKAGES =+ "${PN}-gst ${PN}-pycamera" +PACKAGES =+ "${PN}-compliance ${PN}-gst ${PN}-pycamera" PACKAGECONFIG ??= "" PACKAGECONFIG[dng] = ",,tiff" +PACKAGECONFIG[compliance] = "-Dlc-compliance=enabled,-Dlc-compliance=disabled,gtest" PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" PACKAGECONFIG[pycamera] = "-Dpycamera=enabled,-Dpycamera=disabled,python3 python3-pybind11" PACKAGECONFIG[raspberrypi] = ",,libpisp" @@ -47,7 +48,6 @@ EXTRA_OEMESON = " \ -Dpipelines=${LIBCAMERA_PIPELINES} \ -Dv4l2=true \ -Dcam=enabled \ - -Dlc-compliance=disabled \ -Dtest=false \ -Ddocumentation=disabled \ " @@ -82,6 +82,7 @@ do_package_recalculate_ipa_signatures() { } FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so" +FILES:${PN}-compliance = "${bindir}/lc-compliance" FILES:${PN}-gst = "${libdir}/gstreamer-1.0" FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera"