commit:     8ad5f2255b2a615067b4b0305e2ee734e565ba0f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 12 08:58:39 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct 12 08:58:39 2025 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=8ad5f225

dev-util/kdevelop: Add LLVM 21, enable tests (disable those failing)

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-util/kdevelop/kdevelop-25.08.49.9999.ebuild | 15 +++++++++++----
 dev-util/kdevelop/kdevelop-9999.ebuild          | 15 +++++++++++----
 2 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/dev-util/kdevelop/kdevelop-25.08.49.9999.ebuild 
b/dev-util/kdevelop/kdevelop-25.08.49.9999.ebuild
index 513881de87..738af92cfd 100644
--- a/dev-util/kdevelop/kdevelop-25.08.49.9999.ebuild
+++ b/dev-util/kdevelop/kdevelop-25.08.49.9999.ebuild
@@ -7,7 +7,7 @@ ECM_HANDBOOK="optional"
 ECM_TEST="true"
 KDE_ORG_CATEGORY="kdevelop"
 KFMIN=6.16.0
-LLVM_COMPAT=( 15 16 17 18 19 20 )
+LLVM_COMPAT=( 15 16 17 18 19 20 21 )
 QTMIN=6.9.1
 inherit ecm gear.kde.org llvm-r2 optfeature xdg
 
@@ -19,9 +19,6 @@ SLOT="6/$(ver_cut 1-2)"
 KEYWORDS=""
 IUSE="gdbui plasma +qmake +share subversion"
 
-# see bug 366471
-RESTRICT="test"
-
 # UPSTREAM: not ported yet, check plugins/CMakeLists.txt
 # IUSE="hex"
 #      hex? ( app-editors/okteta:6 )
@@ -88,6 +85,16 @@ RDEPEND="${COMMON_DEPEND}
        kde-apps/kio-extras:6
 "
 
+CMAKE_SKIP_TESTS=(
+       # D-Bus required
+       test_{{project,session}controller,midbus,definesandincludes,kdevgit}
+       test_{compilerprovider,cmakemanager,ctestfindsuites,cmakefileapi}
+       test_{custombuildsystemplugin,qmakeproject,projectload,craftruntime}
+       bench_codecompletion # segfaults
+       test_gdb # FIXME: fails to launch xterm (if found)
+       test_{path,generationtest} # FIXME: whatever that does, does not work
+)
+
 src_prepare() {
        rm -r plugins/qmljs || die # bug 960669, unused upstream
        ecm_src_prepare

diff --git a/dev-util/kdevelop/kdevelop-9999.ebuild 
b/dev-util/kdevelop/kdevelop-9999.ebuild
index 513881de87..738af92cfd 100644
--- a/dev-util/kdevelop/kdevelop-9999.ebuild
+++ b/dev-util/kdevelop/kdevelop-9999.ebuild
@@ -7,7 +7,7 @@ ECM_HANDBOOK="optional"
 ECM_TEST="true"
 KDE_ORG_CATEGORY="kdevelop"
 KFMIN=6.16.0
-LLVM_COMPAT=( 15 16 17 18 19 20 )
+LLVM_COMPAT=( 15 16 17 18 19 20 21 )
 QTMIN=6.9.1
 inherit ecm gear.kde.org llvm-r2 optfeature xdg
 
@@ -19,9 +19,6 @@ SLOT="6/$(ver_cut 1-2)"
 KEYWORDS=""
 IUSE="gdbui plasma +qmake +share subversion"
 
-# see bug 366471
-RESTRICT="test"
-
 # UPSTREAM: not ported yet, check plugins/CMakeLists.txt
 # IUSE="hex"
 #      hex? ( app-editors/okteta:6 )
@@ -88,6 +85,16 @@ RDEPEND="${COMMON_DEPEND}
        kde-apps/kio-extras:6
 "
 
+CMAKE_SKIP_TESTS=(
+       # D-Bus required
+       test_{{project,session}controller,midbus,definesandincludes,kdevgit}
+       test_{compilerprovider,cmakemanager,ctestfindsuites,cmakefileapi}
+       test_{custombuildsystemplugin,qmakeproject,projectload,craftruntime}
+       bench_codecompletion # segfaults
+       test_gdb # FIXME: fails to launch xterm (if found)
+       test_{path,generationtest} # FIXME: whatever that does, does not work
+)
+
 src_prepare() {
        rm -r plugins/qmljs || die # bug 960669, unused upstream
        ecm_src_prepare

Reply via email to