From 83a422668ca2db8c20ec45bb260a7cc4010d73c7 Mon Sep 17 00:00:00 2001 From: Vivien Didelot Date: Thu, 27 Jul 2023 11:33:10 -0400 Subject: [PATCH] rpi-libcamera-apps: add drm support Add a 'drm' PACKAGECONFIG entry in order to provide support for a DRM preview window while running the libcamera apps. Signed-off-by: Vivien Didelot --- recipes-multimedia/libcamera-apps/rpi-libcamera-apps_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-multimedia/libcamera-apps/rpi-libcamera-apps_git.bb b/recipes-multimedia/libcamera-apps/rpi-libcamera-apps_git.bb index 86af7b0..79f68e6 100644 --- a/recipes-multimedia/libcamera-apps/rpi-libcamera-apps_git.bb +++ b/recipes-multimedia/libcamera-apps/rpi-libcamera-apps_git.bb @@ -34,6 +34,7 @@ LIBCAMERA_ARCH:arm:raspberrypi3 = "armv8-neon" LIBCAMERA_ARCH:arm:raspberrypi4 = "armv8-neon" EXTRA_OECMAKE += "-DENABLE_COMPILE_FLAGS_FOR_TARGET=${LIBCAMERA_ARCH}" +PACKAGECONFIG[drm] = "-DENABLE_DRM=1,-DENABLE_DRM=0,libdrm" PACKAGECONFIG[x11] = "-DENABLE_X11=1,-DENABLE_X11=0" PACKAGECONFIG[qt] = "-DENABLE_QT=1,-DENABLE_QT=0" PACKAGECONFIG[opencv] = "-DENABLE_OPENCV=1,-DENABLE_OPENCV=0,opencv"