gnu: kgpg: Update to 23.04.3.

* gnu/packages/kde-pim.scm (kgpg): Update to 23.04.3.
[arguments]<#:phases>: Enable all tests with $HOME set.
[native-inputs]: Remove dbus, add pkg-config.
This commit is contained in:
宋文武 2023-07-30 10:32:00 +08:00
parent 16a4b7a6ff
commit f160a1bfae
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -897,27 +897,28 @@ (define-public keventviews
(define-public kgpg
(package
(name "kgpg")
(version "22.08.1")
(version "23.04.3")
(source
(origin
(method url-fetch)
(uri (string-append "mirror://kde/stable/release-service/" version
"/src/kgpg-" version ".tar.xz"))
(sha256
(base32 "1xs0w6lxwq3hzs8r1cwmygcjilbgwa8zpjxwj6zz1wmbg04gqk36"))))
(base32 "1ihxw1s4sq7cp5pm6rddcmvqk0v5gfg4v38b6yg8hyjg655x63jz"))))
(build-system qt-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "dbus-launch" "ctest" "-E" ;; FIXME: Failing tests.
"(kgpg-import|kgpg-disable)")))))))
(list #:phases
#~(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(setenv "HOME" (getcwd))
(invoke "ctest")))))))
(native-inputs
(list extra-cmake-modules gnupg ;; TODO: Remove after gpgme uses fixed path
dbus ;; Remove after failing test passes
kdoctools))
(list extra-cmake-modules
gnupg ;; TODO: Remove after gpgme uses fixed path
kdoctools
pkg-config))
(inputs
(list akonadi
akonadi-contacts