meson: options: Disable pycamera by default

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@ideasonboard.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Javier Martinez Canillas 2022-06-23 14:10:38 +02:00 committed by Laurent Pinchart
parent bb84fc6a74
commit 7ec3bfedbe

View file

@ -61,5 +61,5 @@ option('v4l2',
option('pycamera', option('pycamera',
type : 'feature', type : 'feature',
value : 'auto', value : 'disabled',
description : 'Enable libcamera Python bindings (experimental)') description : 'Enable libcamera Python bindings (experimental)')