guix-commits
[Top][All Lists]
Advanced

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

131/373: gnu: Add kglobalacceld.


From: guix-commits
Subject: 131/373: gnu: Add kglobalacceld.
Date: Mon, 8 Jul 2024 08:04:37 -0400 (EDT)

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

commit c240714e8502dd00edc61c670eba6f90b83bc903
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Fri May 3 16:37:24 2024 +0800

    gnu: Add kglobalacceld.
    
    * gnu/packages/kde-plasma.scm (kglobalacceld): New variable.
    
    Change-Id: I1db889a1b0e59634adf776527ea9bacec5d526ae
---
 gnu/packages/kde-plasma.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index e0c68e7b37..cd27917c2c 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -579,6 +579,51 @@ KDE Frameworks 5 to better interact with the system.")
     (home-page "https://invent.kde.org/plasma/kgamma5";)
     (license license:gpl2+)))
 
+(define-public kglobalacceld
+  (package
+    (name "kglobalacceld")
+    (version "6.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/plasma/"
+                                  version "/" name "-"
+                                  version ".tar.xz"))
+              (sha256
+               (base32
+                "1p38lqiw9r1w6grp5847pm9lh27d765in62fnc2vlrkb99krxcr7"))))
+    (build-system qt-build-system)
+    (arguments (list #:qtbase qtbase
+                     #:phases
+                     #~(modify-phases %standard-phases
+                         (add-before 'check 'setenv
+                           (lambda _
+                             (setenv "HOME" (getcwd))))
+                         (replace 'check
+                           (lambda* (#:key tests? parallel-tests? 
#:allow-other-keys)
+                             (invoke "dbus-launch" "ctest" "-j"
+                                     (if parallel-tests?
+                                         (number->string (parallel-job-count))
+                                         "1")))))))
+    (native-inputs (list extra-cmake-modules dbus))
+    (inputs (list kconfig
+                  kcoreaddons
+                  kcrash
+                  kdbusaddons
+                  kwindowsystem
+                  kglobalaccel
+                  kservice
+                  kio
+                  kjobwidgets
+                  xcb-util-keysyms
+                  libxkbcommon))
+    (synopsis "Daemon providing Global Keyboard Shortcut (Accelerator)
+functionality")
+    (description
+     "This package provides a Daemon providing Global Keyboard Shortcut
+(Accelerator) functionality.")
+    (home-page "https://invent.kde.org/plasma/kglobalacceld";)
+    (license license:gpl2+)))
+
 (define-public khotkeys
   (package
     (name "khotkeys")



reply via email to

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