gnu: Add kglobalacceld.

* gnu/packages/kde-plasma.scm (kglobalacceld): New variable.

Change-Id: I1db889a1b0e59634adf776527ea9bacec5d526ae
This commit is contained in:
Zheng Junjie 2024-05-03 16:37:24 +08:00
parent fc1eae71f5
commit 51747b31c6
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -579,6 +579,51 @@ (define-public kgamma
(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")