gnu: kcontacts: Fix building.

* gnu/packages/kde-frameworks.scm (kcontacts)[arguments]<#:phases>: Exclude
kcontacts-addresstest test.

Change-Id: I6c9b8a26588bf2db3bddec4f528fe8c9b3862a02
This commit is contained in:
Zheng Junjie 2024-08-29 21:11:12 +08:00 committed by Ludovic Courtès
parent 2bfa848a41
commit c42707fcc3
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2370,7 +2370,15 @@ (define-public kcontacts
#:phases
#~(modify-phases %standard-phases
(add-before 'check 'check-setup
(lambda _ (setenv "HOME" (getcwd)))))))
(lambda _ (setenv "HOME" (getcwd))))
(replace 'check
(lambda* (#:key tests? parallel-tests? #:allow-other-keys)
(when tests?
(invoke "ctest" "-E" "(kcontacts-addresstest)"
"--rerun-failed" "--output-on-failure"
"-j" (if parallel-tests?
(number->string (parallel-job-count))
"1"))))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "API for contacts/address book data following the vCard standard")
(description "This library provides a vCard data model, vCard