gnu: libksieve: Update to 24.05.2.

* gnu/packages/kde-pim.scm (libksieve): Update to 24.05.2.
[inputs]: Remove qtbase-5, qtdeclarative-5, qtwebchannel-5, and qtwebengine-5;
add kconfigwidgets, qtdeclarative, qtwebchannel, and qtwebengine.
[arguments]: Set #:qtbase to qtbase; Use Gexps.

Change-Id: I7894d0d449c5b6d9b1a750eae93b48c0d8e622f5
This commit is contained in:
Zheng Junjie 2024-07-07 21:34:35 +08:00
parent 2a4d2ac91d
commit 1540ee063b
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -2221,7 +2221,7 @@ (define-public libkleo
(define-public libksieve
(package
(name "libksieve")
(version "23.04.3")
(version "24.05.2")
(source
(origin
(method url-fetch)
@ -2229,7 +2229,7 @@ (define-public libksieve
"/src/libksieve-" version ".tar.xz"))
(sha256
(base32
"066z33v30h568bmdcsl4v478p3xhiwsmq7pr7kziilrhy3a2m7p6"))))
"1zsc84ylrylby28ypdg47kmf911dmi5hi6745wvjsrxcwnpqag37"))))
(build-system qt-build-system)
(native-inputs
(list extra-cmake-modules kdoctools))
@ -2237,6 +2237,7 @@ (define-public libksieve
(list akonadi
cyrus-sasl
grantleetheme
kconfigwidgets
karchive
ki18n
kiconthemes
@ -2254,21 +2255,21 @@ (define-public libksieve
kwallet
kwindowsystem
libkdepim
qtbase-5
qtdeclarative-5
qtwebchannel-5
qtwebengine-5))
qtdeclarative
qtwebchannel
qtwebengine))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'substitute
(lambda _
;; Disable a failing test
;; sieveeditorhelphtmlwidgettest fails with `sigtrap`
(substitute*
"src/ksieveui/editor/webengine/autotests/CMakeLists.txt"
(("^\\s*(add_test|ecm_mark_as_test|set_tests_properties)\\W" line)
(string-append "# " line))))))))
(list #:qtbase qtbase
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'substitute
(lambda _
;; Disable a failing test
;; sieveeditorhelphtmlwidgettest fails with `sigtrap`
(substitute*
"src/ksieveui/editor/webengine/autotests/CMakeLists.txt"
(("^\\s*(add_test|ecm_mark_as_test|set_tests_properties)\\W" line)
(string-append "# " line))))))))
(home-page "https://invent.kde.org/pim/libksieve")
(synopsis "KDE Sieve library")
(description "Sieve is a language that can be used filter emails. KSieve