[libcamera-devel] [PATCH] meson: options: Disable pycamera by default

Javier Martinez Canillas javierm at redhat.com
Thu Jun 23 14:10:38 CEST 2022


The libcamera Python bindings is still experimental and it relies on some
features in pybind11 that are not yet upstreamed, so a special branch has
to be downloaded as a subproject.

This conflicts with the build process used by most Linux distributions,
since there is expected that all the dependencies will be fulfilled by
-devel packages present in the build root.

To allow libcamera to be built by distros, let's disable the pycamera by
default. This can still be enabled with `meson build -Dpycamera=enabled`.

Suggested-by: Tomi Valkeinen <tomi.valkeinen at ideasonboard.com>
Signed-off-by: Javier Martinez Canillas <javierm at redhat.com>
---

 meson_options.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson_options.txt b/meson_options.txt
index ca00c78e8134..7a9aecfc60f5 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -61,5 +61,5 @@ option('v4l2',
 
 option('pycamera',
         type : 'feature',
-        value : 'auto',
+        value : 'disabled',
         description : 'Enable libcamera Python bindings (experimental)')
-- 
2.36.1



More information about the libcamera-devel mailing list