From 8d6be776fa06e7e32fa9e2fb369286de59f3a0de Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 15 Oct 2025 16:46:43 +0200 Subject: [PATCH] ecm-common.eclass: Raise CMake minimum to 3.31 cmake.eclass remains at 3.28 in ::gentoo for a while, so having to define the BDEPEND as well here. Signed-off-by: Andreas Sturmlechner --- eclass/ecm-common.eclass | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/eclass/ecm-common.eclass b/eclass/ecm-common.eclass index 7f5d3d1e9915..9db2d68e6f41 100644 --- a/eclass/ecm-common.eclass +++ b/eclass/ecm-common.eclass @@ -1,4 +1,4 @@ -# Copyright 2024 Gentoo Authors +# Copyright 2024-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: ecm-common.eclass @@ -133,7 +133,10 @@ fi DESCRIPTION="Common files for ${PN/-common/}" -BDEPEND=">=kde-frameworks/extra-cmake-modules-${KFMIN}:*" +BDEPEND=" + >=dev-build/cmake-3.31.9-r1 + >=kde-frameworks/extra-cmake-modules-${KFMIN}:* +" case ${ECM_I18N} in true) @@ -185,7 +188,7 @@ fi # Create a CMakeLists.txt file with minimum ECM setup. _ecm-common_preamble() { cat > CMakeLists.txt <<- _EOF_ || die - cmake_minimum_required(VERSION 3.16) + cmake_minimum_required(VERSION 3.31) project(${PN} VERSION ${PV}) find_package(ECM "${KFMIN}" REQUIRED NO_MODULE)