diff options
| author | Jose Quaresma <quaresma.jose@gmail.com> | 2026-05-06 12:15:49 +0100 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-05-12 01:07:00 -0700 |
| commit | a9eece01950543d22034c105a2afc033ced15c8e (patch) | |
| tree | a8919f9a489000809dc38a6752b9a0ebbd364374 | |
| parent | 5206553c8f3440cec75dedafb38190b8bdac49bc (diff) | |
| download | meta-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.bb | 5 |
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" | |||
| 21 | DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml" | 21 | DEPENDS = "python3-pyyaml-native python3-jinja2-native python3-ply-native python3-jinja2-native udev gnutls chrpath-native libevent libyaml" |
| 22 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" | 22 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native', '', d)}" |
| 23 | 23 | ||
| 24 | PACKAGES =+ "${PN}-gst ${PN}-pycamera" | 24 | PACKAGES =+ "${PN}-compliance ${PN}-gst ${PN}-pycamera" |
| 25 | 25 | ||
| 26 | PACKAGECONFIG ??= "" | 26 | PACKAGECONFIG ??= "" |
| 27 | PACKAGECONFIG[dng] = ",,tiff" | 27 | PACKAGECONFIG[dng] = ",,tiff" |
| 28 | PACKAGECONFIG[compliance] = "-Dlc-compliance=enabled,-Dlc-compliance=disabled,gtest" | ||
| 28 | PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" | 29 | PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base" |
| 29 | PACKAGECONFIG[pycamera] = "-Dpycamera=enabled,-Dpycamera=disabled,python3 python3-pybind11" | 30 | PACKAGECONFIG[pycamera] = "-Dpycamera=enabled,-Dpycamera=disabled,python3 python3-pybind11" |
| 30 | PACKAGECONFIG[raspberrypi] = ",,libpisp" | 31 | PACKAGECONFIG[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 | ||
| 84 | FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so" | 84 | FILES:${PN} += " ${libexecdir}/libcamera/v4l2-compat.so" |
| 85 | FILES:${PN}-compliance = "${bindir}/lc-compliance" | ||
| 85 | FILES:${PN}-gst = "${libdir}/gstreamer-1.0" | 86 | FILES:${PN}-gst = "${libdir}/gstreamer-1.0" |
| 86 | FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera" | 87 | FILES:${PN}-pycamera = "${PYTHON_SITEPACKAGES_DIR}/libcamera" |
| 87 | 88 | ||
