dev-libs/plasma-wayland-protocols: Fix CMake <3.10 warning

Closes: https://bugs.gentoo.org/964522
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2025-10-17 21:58:25 +02:00
parent d4fe6f585f
commit e333806e93
No known key found for this signature in database
GPG Key ID: AE591BBC73E4DD5E
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
From 7d28de1fdee9fa30ae9e0f15d149ad348f292db8 Mon Sep 17 00:00:00 2001
From: Pino Toscano <pino@kde.org>
Date: Fri, 26 Sep 2025 20:24:26 +0200
Subject: [PATCH] cmake: bump required version to 3.16
Old enough, and required by Plasma 5.22 already.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3bc288d7..d7049fb2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,7 +2,7 @@
#
# SPDX-License-Identifier: BSD-3-Clause
-cmake_minimum_required(VERSION 3.5)
+cmake_minimum_required(VERSION 3.16)
project(PlasmaWaylandProtocols VERSION 1.19.0)
--
GitLab

View File

@ -26,6 +26,8 @@ BDEPEND="
test? ( dev-util/wayland-scanner )
"
PATCHES=( "${FILESDIR}/${P}-cmake-minreqver-3.16.patch" ) # bug 964522
src_configure() {
local mycmakeargs=(
-DQT_MAJOR_VERSION=6