commit:     e333806e938688eecd83301ccb967173abcf7e94
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 17 19:58:25 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 17 20:00:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e333806e

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

Closes: https://bugs.gentoo.org/964522
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...and-protocols-1.19.0-cmake-minreqver-3.16.patch | 26 ++++++++++++++++++++++
 .../plasma-wayland-protocols-1.19.0.ebuild         |  2 ++
 2 files changed, 28 insertions(+)

diff --git 
a/dev-libs/plasma-wayland-protocols/files/plasma-wayland-protocols-1.19.0-cmake-minreqver-3.16.patch
 
b/dev-libs/plasma-wayland-protocols/files/plasma-wayland-protocols-1.19.0-cmake-minreqver-3.16.patch
new file mode 100644
index 000000000000..ad0ec663f2ad
--- /dev/null
+++ 
b/dev-libs/plasma-wayland-protocols/files/plasma-wayland-protocols-1.19.0-cmake-minreqver-3.16.patch
@@ -0,0 +1,26 @@
+From 7d28de1fdee9fa30ae9e0f15d149ad348f292db8 Mon Sep 17 00:00:00 2001
+From: Pino Toscano <[email protected]>
+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
+

diff --git 
a/dev-libs/plasma-wayland-protocols/plasma-wayland-protocols-1.19.0.ebuild 
b/dev-libs/plasma-wayland-protocols/plasma-wayland-protocols-1.19.0.ebuild
index d9df14c50669..6e09da744ee8 100644
--- a/dev-libs/plasma-wayland-protocols/plasma-wayland-protocols-1.19.0.ebuild
+++ b/dev-libs/plasma-wayland-protocols/plasma-wayland-protocols-1.19.0.ebuild
@@ -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

Reply via email to