From d4be3069f9032fdb4de7e08571c11ffccb7fbc4b Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 2 Apr 2025 17:57:29 +0200 Subject: [PATCH] kde-plasma/breeze-plymouth: Fix build w/ >=cmake-4 Signed-off-by: Andreas Sturmlechner --- .../breeze-plymouth-6.2.5.ebuild | 2 ++ .../breeze-plymouth-6.3.4.ebuild | 2 ++ .../files/breeze-plymouth-6.2.5-cmake4.patch | 26 +++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 kde-plasma/breeze-plymouth/files/breeze-plymouth-6.2.5-cmake4.patch diff --git a/kde-plasma/breeze-plymouth/breeze-plymouth-6.2.5.ebuild b/kde-plasma/breeze-plymouth/breeze-plymouth-6.2.5.ebuild index 90abe36442a57..e7911bb9539fa 100644 --- a/kde-plasma/breeze-plymouth/breeze-plymouth-6.2.5.ebuild +++ b/kde-plasma/breeze-plymouth/breeze-plymouth-6.2.5.ebuild @@ -17,6 +17,8 @@ BDEPEND=">=kde-frameworks/extra-cmake-modules-${KFMIN}:0" DEPEND="sys-boot/plymouth" RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${P}-cmake4.patch" ) + src_configure() { local mycmakeargs=( -DDISTRO_NAME="Gentoo Linux" diff --git a/kde-plasma/breeze-plymouth/breeze-plymouth-6.3.4.ebuild b/kde-plasma/breeze-plymouth/breeze-plymouth-6.3.4.ebuild index 20b9c830a5065..c2f322e998100 100644 --- a/kde-plasma/breeze-plymouth/breeze-plymouth-6.3.4.ebuild +++ b/kde-plasma/breeze-plymouth/breeze-plymouth-6.3.4.ebuild @@ -17,6 +17,8 @@ BDEPEND=">=kde-frameworks/extra-cmake-modules-${KFMIN}:0" DEPEND="sys-boot/plymouth" RDEPEND="${DEPEND}" +PATCHES=( "${FILESDIR}/${PN}-6.2.5-cmake4.patch" ) + src_configure() { local mycmakeargs=( -DDISTRO_NAME="Gentoo Linux" diff --git a/kde-plasma/breeze-plymouth/files/breeze-plymouth-6.2.5-cmake4.patch b/kde-plasma/breeze-plymouth/files/breeze-plymouth-6.2.5-cmake4.patch new file mode 100644 index 0000000000000..9e67b030677ea --- /dev/null +++ b/kde-plasma/breeze-plymouth/files/breeze-plymouth-6.2.5-cmake4.patch @@ -0,0 +1,26 @@ +From c49e5349df34a74b023c3970bfc84828c57ead52 Mon Sep 17 00:00:00 2001 +From: Nicolas Fella +Date: Tue, 11 Mar 2025 16:29:21 +0100 +Subject: [PATCH] Require newer CMake + +CMake 4.0 drops support for older than 3.5 +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index d9ea7e6..a35956b 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -2,7 +2,7 @@ project(breeze-plymouth) + set(PROJECT_VERSION "6.3.80") + set(PROJECT_VERSION_MAJOR 6) + +-cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) ++cmake_minimum_required(VERSION 3.16 FATAL_ERROR) + + find_package(ECM 6.2.0 REQUIRED NO_MODULE) + set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake ${ECM_MODULE_PATH} ) +-- +GitLab +