guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/347: gnu: Add kdbusaddons-6.


From: guix-commits
Subject: 06/347: gnu: Add kdbusaddons-6.
Date: Fri, 28 Jun 2024 09:57:07 -0400 (EDT)

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

commit 5fe73ab5181cfe07445ac3dcb7ec685885091261
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Tue Mar 5 23:55:33 2024 +0800

    gnu: Add kdbusaddons-6.
    
    * gnu/packages/kde-frameworks.scm (kdbusaddons-6): New variable.
    (kdbusaddons): Inherit above.
    
    Change-Id: I4e1a0f5870436f5f08738f77dad7aa5fcd1ad2e9
---
 gnu/packages/kde-frameworks.scm | 43 +++++++++++++++++++++++++++++++++--------
 1 file changed, 35 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 40bd858a0b..986c1e856f 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -791,8 +791,42 @@ many more.")
     (inputs
      (list qtbase-5))))
 
+(define-public kdbusaddons-6
+  (package
+    (name "kdbusaddons")
+    (version "6.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/frameworks/"
+                    (version-major+minor version) "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0h9m8s07zilg7gbjb4gf44nn8b6wynxfz1j38nwp7ffa3z5a88xl"))))
+    (build-system qt-build-system)
+    (native-inputs
+     (list extra-cmake-modules dbus qttools))
+    (inputs (list libxkbcommon))
+    (arguments
+     (list #:qtbase qtbase
+           #:phases
+           #~(modify-phases %standard-phases
+               (replace 'check
+                 (lambda* (#:key tests? #:allow-other-keys)
+                   (when tests?
+                     (invoke "dbus-launch" "ctest")))))))
+    (home-page "https://community.kde.org/Frameworks";)
+    (synopsis "Convenience classes for DBus")
+    (description "KDBusAddons provides convenience classes on top of QtDBus,
+as well as an API to create KDED modules.")
+    ;; Some source files mention lgpl2.0+, but the included license is
+    ;; the lgpl2.1. Some source files are under non-copyleft licenses.
+    (license license:lgpl2.1+)))
+
 (define-public kdbusaddons
   (package
+    (inherit kdbusaddons-6)
     (name "kdbusaddons")
     (version "5.114.0")
     (source (origin
@@ -827,14 +861,7 @@ many more.")
                  (lambda* (#:key tests? #:allow-other-keys)
                    (when tests?
                      (setenv "DBUS_FATAL_WARNINGS" "0")
-                     (invoke "dbus-launch" "ctest")))))))
-    (home-page "https://community.kde.org/Frameworks";)
-    (synopsis "Convenience classes for DBus")
-    (description "KDBusAddons provides convenience classes on top of QtDBus,
-as well as an API to create KDED modules.")
-    ;; Some source files mention lgpl2.0+, but the included license is
-    ;; the lgpl2.1. Some source files are under non-copyleft licenses.
-    (license license:lgpl2.1+)))
+                     (invoke "dbus-launch" "ctest")))))))))
 
 (define-public kdnssd
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]