libcamera: add support for DNG files

The 'cam' app in libcamera will turn on DNG support if it finds libtiff,
but it has no way to explicitly disable it. Add a 'dng' PACKAGECONFIG to
reliably enable it, disabling it will take more effort when using
gstreamer.

Signed-off-by: Koen Kooi <koen.kooi@oss.qualcomm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Koen Kooi 2025-03-18 17:24:43 +01:00 committed by Khem Raj
parent 3989427ca7
commit d9c5ae5c03
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -25,6 +25,7 @@ DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'qt', 'qtbase qtbase-native'
PACKAGES =+ "${PN}-gst ${PN}-pycamera"
PACKAGECONFIG ??= ""
PACKAGECONFIG[dng] = ",,tiff"
PACKAGECONFIG[gst] = "-Dgstreamer=enabled,-Dgstreamer=disabled,gstreamer1.0 gstreamer1.0-plugins-base"
PACKAGECONFIG[pycamera] = "-Dpycamera=enabled,-Dpycamera=disabled,python3 python3-pybind11"