From 82f5facfc7aad8f7dec5d928bfe0c0124209455a Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 18 Aug 2025 16:48:29 +0300 Subject: [PATCH] meson: Bump minimum version to v1.0.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The minimum version of meson currently required by libcamera, v0.63, does not properly detect Qt6. As qcam switched from Qt5 to Qt6 a while ago, building libcamera with meson v0.63 is currently broken. The issue was fixed in meson v0.64. That was the last meson version before v1.0.0. For mainly psychological reasons, and to avoid bumping the meson version too often, go straight to v1.0.1. This will support the following versions of popular distributions and build environments: - Debian Bookworm and newer (v1.0.1) - Ubuntu 24.04LTS and newer (v1.3.2) - Buildroot 2023.08 (v1.1.1) - Yocto Scarthgap (v1.3.1) The previous version of Debian, Ubuntu and Yocto shipped versions of meson older than v0.63 (v0.56.2 in Debian Bullseye, v0.61.2 in Ubuntu 22.04LTS, and v0.61.3 in Yocto Kirkstone), so the meson version bump doesn't require a distribution upgrade. For Buildroot, moving to v1.0.1 means users on versions from 2022.08 (when not using qcam) or 2023.02 to 2023.05 will need to upgrade. Signed-off-by: Laurent Pinchart Reviewed-by: Kieran Bingham Reviewed-by: Barnabás Pőcze --- README.rst | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index e9a7dd82..7c8bc6db 100644 --- a/README.rst +++ b/README.rst @@ -44,7 +44,7 @@ A C++ toolchain: [required] Either {g++, clang} Meson Build system: [required] - meson (>= 0.63) ninja-build pkg-config + meson (>= 1.0.1) ninja-build pkg-config for the libcamera core: [required] libyaml-dev python3-yaml python3-ply python3-jinja2 diff --git a/meson.build b/meson.build index d46b58bd..ccf709d8 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: CC0-1.0 project('libcamera', 'c', 'cpp', - meson_version : '>= 0.63', + meson_version : '>= 1.0.1', version : '0.5.2', default_options : [ 'werror=true',