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>
65 lines
1.8 KiB
Meson
65 lines
1.8 KiB
Meson
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
option('android',
|
|
type : 'feature',
|
|
value : 'disabled',
|
|
description : 'Compile libcamera with Android Camera3 HAL interface')
|
|
|
|
option('android_platform',
|
|
type : 'combo',
|
|
choices : ['cros', 'generic'],
|
|
value : 'generic',
|
|
description : 'Select the Android platform to compile for')
|
|
|
|
option('cam',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile the cam test application')
|
|
|
|
option('documentation',
|
|
type : 'feature',
|
|
description : 'Generate the project documentation')
|
|
|
|
option('gstreamer',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile libcamera GStreamer plugin')
|
|
|
|
option('ipas',
|
|
type : 'array',
|
|
choices : ['ipu3', 'raspberrypi', 'rkisp1', 'vimc'],
|
|
description : 'Select which IPA modules to build')
|
|
|
|
option('lc-compliance',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile the lc-compliance test application')
|
|
|
|
option('pipelines',
|
|
type : 'array',
|
|
choices : ['ipu3', 'raspberrypi', 'rkisp1', 'simple', 'uvcvideo', 'vimc'],
|
|
description : 'Select which pipeline handlers to include')
|
|
|
|
option('qcam',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description : 'Compile the qcam test application')
|
|
|
|
option('test',
|
|
type : 'boolean',
|
|
description: 'Compile and include the tests')
|
|
|
|
option('tracing',
|
|
type : 'feature',
|
|
value : 'auto',
|
|
description: 'Enable tracing (based on lttng)')
|
|
|
|
option('v4l2',
|
|
type : 'boolean',
|
|
value : false,
|
|
description : 'Compile the V4L2 compatibility layer')
|
|
|
|
option('pycamera',
|
|
type : 'feature',
|
|
value : 'disabled',
|
|
description : 'Enable libcamera Python bindings (experimental)')
|