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
This commit is contained in:
Zheng Junjie 2024-07-05 23:03:47 +08:00
parent 983c4da5e0
commit 9dfa552d5e
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -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