[libcamera-devel] [PATCH v2] README: Add some extra optional dependancies for cam sinks

Laurent Pinchart laurent.pinchart at ideasonboard.com
Sat Jun 25 01:15:53 CEST 2022


From: Eric Curtin <ecurtin at redhat.com>

KMS sink requires some DRM libraries, SDL sink requires some SDL
libraries.

Suggested-by: Pavel Machek <pavel at ucw.cz>
Signed-off-by: Eric Curtin <ecurtin at redhat.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
A v2 just to make sure we're on the same page.

 README.rst | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/README.rst b/README.rst
index 05ebcec4c4c1..b9e72d81b90c 100644
--- a/README.rst
+++ b/README.rst
@@ -87,7 +87,13 @@ for gstreamer: [optional]
         libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
 
 for cam: [optional]
-        libevent-dev
+        libevent-dev is required to support cam, however the following
+        optional dependencies bring more functionality to the cam test
+        tool:
+
+        - libdrm-dev: Enables the KMS sink
+        - libsdl2-dev: Enables the SDL sink
+        - libsdl2-image-dev: Supports MJPEG on the SDL sink
 
 for qcam: [optional]
         qtbase5-dev libqt5core5a libqt5gui5 libqt5widgets5 qttools5-dev-tools libtiff-dev
-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list