~ruther/guix-local

2afc99e02785d047bbb707d935db8c90f6b1f2b6 — Sughosha 7 months ago dfadde6
gnu: Add qhotkey.

* gnu/packages/qt.scm (qhotkey): New variable.

Change-Id: Iea8794291af9828041862aa3f5e8c5dff7f9f8b3
1 files changed, 29 insertions(+), 0 deletions(-)

M gnu/packages/qt.scm
M gnu/packages/qt.scm => gnu/packages/qt.scm +29 -0
@@ 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")