From 9dfa552d5eba9a0d9f716a0bbb1cf002fb0d4b7d Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Fri, 5 Jul 2024 23:03:47 +0800 Subject: [PATCH] gnu: extra-cmake-modules: Update to 6.3.0. * gnu/packages/kde-frameworks.scm (extra-cmake-modules): Update to 6.3.0. [arguments]<#:phases>: Adjust fix-test phase. Change-Id: I61fbd6814a740a3596d64443bcde0a5af903e5c8 --- 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 08329820fa..cea3be072a 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.3.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")))) + "067qb9w8dj5z094yklc9b1jx5k29my5zf1gzkr05liswm7xzhs0k")))) (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