Subject: [PATCH kde-team 01/63] gnu: extra-cmake-modules: Update to 6.1.0.

From: Zheng Junjie <[email-masked]>
Date: Mon, 15 Apr 2024 20:46:38 +0800

* gnu/packages/kde-frameworks.scm (extra-cmake-modules): Update to 6.1.0.
[arguments]<#:phases>: Adjust fix-test phase.

Change-Id: I5d712887197d089377492ccd1a45bedaac64e151
---
 gnu/packages/kde-frameworks.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 95c0f95e8c..7be9f160a2 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -103,7 +103,7 @@ (define-module (gnu packages kde-frameworks)
 (define-public extra-cmake-modules
   (package
     (name "extra-cmake-modules")
-    (version "6.0.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -112,7 +112,7 @@ (define-public extra-cmake-modules
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "030dyw4krnq8hcp0dsqb15zxb7x7r8c33lbdgmmia5xpkpqjp693"))))
+                "1gc8cgc9fzxz6bszwxnr913fjgxwnjam2pz39a6wzrh713qfvjbn"))))
     (build-system cmake-build-system)
     (native-inputs
      ;; Add test dependency, except on armhf where building it is too
@@ -160,12 +160,12 @@ (define-public extra-cmake-modules
                  "set(ECM_MKSPECS_INSTALL_DIR lib/qt${QT_MAJOR_VERSION}/mkspecs/modules"))))
           ;; Work around for the failed test KDEFetchTranslations.
           ;; It complains that the cmake project name is not
-          ;; "frameworks/extra-cmake-modules".
+          ;; ".*/extra-cmake-modules".
           ;; TODO: Fix it upstream.
           (add-after 'unpack 'fix-test
             (lambda _
               (substitute* "tests/KDEFetchTranslations/CMakeLists.txt"
-                (("frameworks/extra-cmake-modules") "extra-cmake-modules"))))
+                (("\\.\\*/extra-cmake-modules") "extra-cmake-modules"))))
           ;; install and check phase are swapped to prevent install from failing
           ;; after testsuire has run
           (add-after 'install 'check-post-install
-- 
2.41.0