guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 2afc99e02785d047bbb707d935db8c90f6b1f2b6
Author: Sughosha <[email protected]>
AuthorDate: Fri Sep 19 11:29:36 2025 +0530
gnu: Add qhotkey.
* gnu/packages/qt.scm (qhotkey): New variable.
Change-Id: Iea8794291af9828041862aa3f5e8c5dff7f9f8b3
---
gnu/packages/qt.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 646ef54357..b71090c35f 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -5940,6 +5940,35 @@ simple editor for binary data, just like
@code{QPlainTextEdit} is for text
data.")
(license license:lgpl2.1)))
+(define-public qhotkey
+ (package
+ (name "qhotkey")
+ (version "1.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Skycoder42/QHotkey")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0glzh4l532xk4v9mphsdf96v1557pyvg5al3ha0vr3244bfh9hcf"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:tests? #f ;no tests
+ #:configure-flags
+ #~(list "-DQT_DEFAULT_MAJOR_VERSION=6"
+ "-DBUILD_SHARED_LIBS=ON"
+ "-DQHOTKEY_EXAMPLES=ON")))
+ (inputs (list libx11 qtbase))
+ (home-page "https://github.com/Skycoder42/QHotkey")
+ (synopsis "Global shortcut key for Qt desktop applications")
+ (description
+ "This package provides @code{QHotKey} class that can be used to create
+hotkeys/global shortcuts, aka shortcuts that work everywhere, independent of
+the application state.")
+ (license license:bsd-3)))
+
(define-public qthttpserver
(package
(name "qthttpserver")