aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2022-06-23 14:10:38 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-23 19:49:24 +0300
commit7ec3bfedbe22962600b438a13d9e13d37d55ce25 (patch)
tree5ce7707737fa1efeab53b17c5e582e63c61fc78d
parentbb84fc6a74fec9b51b6dc21507e65092c6fdbbac (diff)
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>
-rw-r--r--meson_options.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt
index ca00c78e..7a9aecfc 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)')

Privacy Policy