z572 pushed a commit to branch kde-team in repository guix. commit 73b9dad9620633967e9722f0d424614865d9ee0b Author: Zheng Junjie <zhengjun...@iscas.ac.cn> AuthorDate: Thu May 2 19:48:39 2024 +0800
gnu: Add kdav-6. * gnu/packages/kde-frameworks.scm (kdav-6): New variable. (kdav): Inherit above. Change-Id: I1e117900dfea08cf98d107047973ba737983ebb2 --- gnu/packages/kde-frameworks.scm | 44 ++++++++++++++++++++++++++++++----------- 1 file changed, 33 insertions(+), 11 deletions(-) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index f9d713da79..a701d93279 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -5934,10 +5934,10 @@ offers abstract functionality to deal with scripts.") (license (list license:lgpl2.0+ license:lgpl2.1+ license:lgpl2.0 license:gpl3+)))) -(define-public kdav +(define-public kdav-6 (package (name "kdav") - (version "5.114.0") + (version "6.1.0") (source (origin (method url-fetch) @@ -5945,20 +5945,23 @@ offers abstract functionality to deal with scripts.") (version-major+minor version) "/" name "-" version ".tar.xz")) (sha256 - (base32 "11959fxz24snk2l31kw8w96wah0s2fjimimrxh6xhppiy5qp2fp2")))) + (base32 "0ascb54d20h0m49j7ym2mjhi61mwn29d0hpr5aw4yl8xb3md6i34")))) (build-system qt-build-system) (native-inputs (list extra-cmake-modules)) + (propagated-inputs (list kcoreaddons-6)) (inputs - (list kcoreaddons ki18n kio qtbase-5 qtxmlpatterns)) + (list ki18n-6 kio-6)) (arguments - (list #:phases #~(modify-phases %standard-phases - (replace 'check - (lambda* (#:key tests? #:allow-other-keys) - (when tests? - ;; Seems to require network. - (invoke "ctest" "-E" - "(kdav-davcollectionsmultifetchjobtest|\ + (list + #:qtbase qtbase + #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + ;; Seems to require network. + (invoke "ctest" "-E" + "(kdav-davcollectionsmultifetchjobtest|\ kdav-davitemfetchjob)"))))))) (home-page "https://invent.kde.org/frameworks/kdav") (synopsis "DAV protocol implementation with KJobs") @@ -5967,3 +5970,22 @@ and todos are supported, using either GroupDAV or CalDAV, and contacts are supported using GroupDAV or CardDAV.") (license ;; GPL for programs, LGPL for libraries (list license:gpl2+ license:lgpl2.0+)))) + +(define-public kdav + (package + (inherit kdav-6) + (name "kdav") + (version "5.114.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 "11959fxz24snk2l31kw8w96wah0s2fjimimrxh6xhppiy5qp2fp2")))) + (native-inputs + (list extra-cmake-modules)) + (inputs + (list kcoreaddons ki18n kio qtbase-5 qtxmlpatterns)) + (propagated-inputs '())))