f38159e3da
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
From 9bc21e4d22191dbd0757f4044c1e73844d4835c6 Mon Sep 17 00:00:00 2001
|
|
From: Javier Martinez Canillas <javierm@redhat.com>
|
|
Date: Thu, 23 Jun 2022 13:59:27 +0200
|
|
Subject: [PATCH 1/2] 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>
|
|
---
|
|
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
|
|
|