commit:     59080afd1bf602651112105c179bf9c576bd6e25
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 28 20:56:58 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 29 18:14:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59080afd

kde-plasma/kwin: Require min. GCC 14 for build

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

 kde-plasma/kwin/kwin-6.5.4-r1.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/kde-plasma/kwin/kwin-6.5.4-r1.ebuild 
b/kde-plasma/kwin/kwin-6.5.4-r1.ebuild
index 8cee0874266d..caff53482f18 100644
--- a/kde-plasma/kwin/kwin-6.5.4-r1.ebuild
+++ b/kde-plasma/kwin/kwin-6.5.4-r1.ebuild
@@ -8,7 +8,7 @@ ECM_HANDBOOK="optional"
 ECM_TEST="true"
 KFMIN=6.18.0
 QTMIN=6.9.1
-inherit ecm fcaps plasma.kde.org xdg
+inherit ecm fcaps plasma.kde.org toolchain-funcs xdg
 
 DESCRIPTION="Flexible, composited Window Manager for windowing systems on 
Linux"
 SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${P}-patchset.tar.xz";
@@ -113,6 +113,14 @@ FILECAPS=( -m 0755 cap_sys_nice=ep usr/bin/kwin_wayland )
 
 PATCHES=( "${WORKDIR}/${P}-patchset" )
 
+pkg_pretend() {
+       [[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 14
+}
+
+pkg_setup() {
+       [[ ${MERGE_TYPE} != binary ]] && tc-check-min_ver gcc 14
+}
+
 src_prepare() {
        ecm_src_prepare
 

Reply via email to