commit: c297570865bc73cd63dbb3239eb0d88946f72426 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed May 21 19:56:55 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed May 21 19:56:55 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2975708
dev-util/icemon: fix compat w/ CMake 4, inherit xdg Not doing Qt 6 at this time, looking over CMake blockers. Closes: https://bugs.gentoo.org/953042 Closes: https://bugs.gentoo.org/954843 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/icemon/files/icemon-3.3-cmake-4.patch | 18 ++++++++++++ dev-util/icemon/icemon-3.3-r1.ebuild | 38 ++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-util/icemon/files/icemon-3.3-cmake-4.patch b/dev-util/icemon/files/icemon-3.3-cmake-4.patch new file mode 100644 index 000000000000..34905add8f89 --- /dev/null +++ b/dev-util/icemon/files/icemon-3.3-cmake-4.patch @@ -0,0 +1,18 @@ +https://bugs.gentoo.org/953042 +https://github.com/icecc/icemon/commit/b07bf3eb0c28ac5cd527d3ab675d2273d1866b48 + +From b07bf3eb0c28ac5cd527d3ab675d2273d1866b48 Mon Sep 17 00:00:00 2001 +From: Sergio Martins <[email protected]> +Date: Mon, 28 Apr 2025 03:39:49 +0100 +Subject: [PATCH] Fix build with CMake 4.0 + +Newer CMake doesn't support such old minimum version +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required(VERSION 3.1.0) ++cmake_minimum_required(VERSION 3.10.0) + project(icemon VERSION 3.3) + + find_package(ECM REQUIRED NO_MODULE) + diff --git a/dev-util/icemon/icemon-3.3-r1.ebuild b/dev-util/icemon/icemon-3.3-r1.ebuild new file mode 100644 index 000000000000..990e96a76f4c --- /dev/null +++ b/dev-util/icemon/icemon-3.3-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="Monitor program for use with Icecream compile clusters based on KDE Frameworks" +HOMEPAGE="https://en.opensuse.org/Icecream https://github.com/icecc/icemon" +SRC_URI="https://github.com/icecc/icemon/releases/download/v${PV}/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwidgets:5 + >=sys-devel/icecream-1.3 +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-text/docbook2X + kde-frameworks/extra-cmake-modules +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.3-cmake-4.patch +) + +src_configure() { + local mycmakeargs=( + -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON + ) + + cmake_src_configure +}
