guix_mirror_bot pushed a commit to branch kde-team
in repository guix.

commit 598100b49b6c0848fc0cb26198610c6a341ba827
Author: Zheng Junjie <[email protected]>
AuthorDate: Sat Jan 11 11:25:27 2025 +0800

    gnu: kpeoplevcard: Update to 0.1-0.d4acaa3.
    
    * gnu/packages/kde-pim.scm (kpeoplevcard): Update to 0.1-0.d4acaa3.
    [source]: Switch to git-fetch.
    [arguments]: Use G-Expression. Set #:qtbase to qtbase.
    <#:configure-flags>: Set -DQT_MAJOR_VERSION=6.
    [inputs]: Remove qtbase-5.
    
    Change-Id: If2b683ad29f0aa57f203360a39eefffbcece3177
---
 gnu/packages/kde-pim.scm | 58 +++++++++++++++++++++++++++---------------------
 1 file changed, 33 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/kde-pim.scm b/gnu/packages/kde-pim.scm
index e92e8c195d..a96053377b 100644
--- a/gnu/packages/kde-pim.scm
+++ b/gnu/packages/kde-pim.scm
@@ -25,6 +25,7 @@
   #:use-module (guix gexp)
   #:use-module (guix download)
   #:use-module (guix gexp)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
   #:use-module (guix utils)
@@ -1820,32 +1821,39 @@ and exchanging calendar data, vCalendar and iCalendar.")
      (list license:gpl2+ license:lgpl2.0+ license:fdl1.2+))))
 
 (define-public kpeoplevcard
-  (package
-    (name "kpeoplevcard")
-    (version "0.1")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "mirror://kde/stable/kpeoplevcard/"
-                                  version "/kpeoplevcard-" version ".tar.xz"))
-              (sha256
-               (base32
-                "1hv3fq5k0pps1wdvq9r1zjnr0nxf8qc3vwsnzh9jpvdy79ddzrcd"))))
-    (build-system qt-build-system)
-    (arguments
-     '(#:phases (modify-phases %standard-phases
-                  (replace 'check-setup
-                    (lambda _
-                      (setenv "HOME" "/tmp"))))))
-    (native-inputs
-     (list extra-cmake-modules))
-    (inputs
-     (list kcontacts kpeople qtbase-5))
-    (home-page "https://invent.kde.org/pim/kpeoplevcard";)
-    (synopsis "Expose vCard contacts to KPeople")
-    (description
-     "This plugins adds support for vCard (also known as @acronym{VCF,
+  (let ((commit "d4acaa3038f6b030d0d6390e628c39e9f8d87903")
+        (revision "0"))
+    ;; use unreleased commit for KF6 supports.
+    (package
+      (name "kpeoplevcard")
+      (version (git-version "0.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://invent.kde.org/pim/kpeoplevcard";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "1wgpwxjb5zvhgzyq9zd8mp6r5cawjzlhk980drl05nr27a0q32vz"))))
+      (build-system qt-build-system)
+      (arguments
+       (list #:qtbase qtbase
+             #:configure-flags #~(list "-DQT_MAJOR_VERSION=6")
+             #:phases #~(modify-phases %standard-phases
+                          (replace 'check-setup
+                            (lambda _
+                              (setenv "HOME" "/tmp"))))))
+      (native-inputs
+       (list extra-cmake-modules))
+      (inputs
+       (list kcontacts kpeople))
+      (home-page "https://invent.kde.org/pim/kpeoplevcard";)
+      (synopsis "Expose vCard contacts to KPeople")
+      (description
+       "This plugins adds support for vCard (also known as @acronym{VCF,
 Virtual Contact File}) files to the KPeople contact management library.")
-    (license license:lgpl2.1+)))
+      (license license:lgpl2.1+))))
 
 (define-public kpkpass
   (package

Reply via email to