summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Quaresma <quaresma.jose@gmail.com>2026-05-06 12:15:49 +0100
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-05-12 01:07:00 -0700
commita9eece01950543d22034c105a2afc033ced15c8e (patch)
treea8919f9a489000809dc38a6752b9a0ebbd364374
parent5206553c8f3440cec75dedafb38190b8bdac49bc (diff)
downloadmeta-openembedded-a9eece01950543d22034c105a2afc033ced15c8e.tar.gz
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 <jose.quaresma@foundries.io> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
-rw-r--r--meta-multimedia/recipes-multimedia/libcamera/libcamera_0.6.0.bb5
1 files 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"
21DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml" 21DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml"
22DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" 22DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}"
23 23
24PACKAGES =+ "${PN}-gst ${PN}-pycamera" 24PACKAGES =+ "${PN}-compliance ${PN}-gst ${PN}-pycamera"
25 25
26PACKAGECONFIG ??= "" 26PACKAGECONFIG ??= ""
27PACKAGECONFIG[dng] = ",,tiff" 27PACKAGECONFIG[dng] = ",,tiff"
28PACKAGECONFIG[compliance] = "-Dlc-compliance=enabled,-Dlc-compliance=disabled,gtest"
28PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" 29PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base"
29PACKAGECONFIG[pycamera] = "-Dpycamera=enabled,-Dpycamera=disabled,python3 python3-pybind11" 30PACKAGECONFIG[pycamera] = "-Dpycamera=enabled,-Dpycamera=disabled,python3 python3-pybind11"
30PACKAGECONFIG[raspberrypi] = ",,libpisp" 31PACKAGECONFIG[raspberrypi] = ",,libpisp"
@@ -47,7 +48,6 @@ EXTRA_OEMESON = " \
47 -Dpipelines=${LIBCAMERA_PIPELINES} \ 48 -Dpipelines=${LIBCAMERA_PIPELINES} \
48 -Dv4l2=true \ 49 -Dv4l2=true \
49 -Dcam=enabled \ 50 -Dcam=enabled \
50 -Dlc-compliance=disabled \
51 -Dtest=false \ 51 -Dtest=false \
52 -Ddocumentation=disabled \ 52 -Ddocumentation=disabled \
53" 53"
@@ -82,6 +82,7 @@ do_package_recalculate_ipa_signatures() {
82} 82}
83 83
84FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so" 84FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so"
85FILES:${PN}-compliance = "${bindir}/lc-compliance"
85FILES:${PN}-gst = "${libdir}/gstreamer-1.0" 86FILES:${PN}-gst = "${libdir}/gstreamer-1.0"
86FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera" 87FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera"
87 88