[libcamera-devel] [PATCH] meson: reduce required version to 0.53

Laurent Pinchart laurent.pinchart at ideasonboard.com
Fri Dec 17 01:18:45 CET 2021


Hi Christian,

Thank you for the patch.

On Fri, Dec 17, 2021 at 12:09:41AM +0000, Christian Rauch wrote:
> Hello,
> 
> I am attaching a patch to reduce the required meson version from 0.55 to
> 0.53. There are no features in higher meson versions that are required
> to build libcamera and this increases the number of systems that can
> build libcamera with packaged meson versions.

We use cmake.subproject_options() in src/android/meson.build, which
according to the documentation been introduced in meson 0.55 (see
https://mesonbuild.com/CMake-module.html#configuration-options).

> From 1f7e62154e1d81c47fba777b3bf2893fec558b63 Mon Sep 17 00:00:00 2001
> From: Christian Rauch <Rauch.Christian at gmx.de>
> Date: Thu, 16 Dec 2021 23:53:31 +0000
> Subject: meson: reduce required version to 0.53
> 
> Signed-off-by: Christian Rauch <Rauch.Christian at gmx.de>
> 
> diff --git a/meson.build b/meson.build
> index a20cc29e..3bfd26fe 100644
> --- a/meson.build
> +++ b/meson.build
> @@ -1,7 +1,7 @@
>  # SPDX-License-Identifier: CC0-1.0
> 
>  project('libcamera', 'c', 'cpp',
> -    meson_version : '>= 0.55',
> +    meson_version : '>= 0.53',
>      version : '0.0.0',
>      default_options : [
>          'werror=true',

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list