~ruther/guix-local

b56e2cd6a79ddce7aacb0bf7598a62f6ad3aa1b9 — Dr. P. Roberts 2 months ago 72f48ee
gnu: Add hyprland-qt-support.

* gnu/packages/qt.scm (hyprland-qt-support): New variable.

Closes: guix/guix#4811
Change-Id: I27ef41f5b7a2fdc9599344a8d81c8a27714d9732
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
1 files changed, 29 insertions(+), 0 deletions(-)

M gnu/packages/qt.scm
M gnu/packages/qt.scm => gnu/packages/qt.scm +29 -0
@@ 6071,6 6071,35 @@ of the InventorXt GUI component toolkit.")
various hypr* apps.")
    (license license:bsd-3)))

(define-public hyprland-qt-support
  (package
    (name "hyprland-qt-support")
    (version "0.1.0")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/hyprwm/hyprland-qt-support")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0rxdj8l985bvsg3gca79jb4rf0dy066x5cmxsyyavlcp7yz6irps"))))
    (build-system qt-build-system)
    (arguments
     (list
      #:tests? #f ;There are no tests.
      #:qtbase qtbase
      #:configure-flags
      #~(list "-DINSTALL_QML_PREFIX=lib/qt6/qml")))
    (native-inputs (list pkg-config))
    (inputs (list qtbase qtdeclarative hyprlang))
    (home-page "https://github.com/hyprwm/hyprland-qt-support")
    (synopsis "QML style provider for Hyprland applications")
    (description
     "This package provides a QML style that can be used by setting the
@code{QT_QUICK_CONTROLS_STYLE} variable to the string
@code{org.hyprland.style} (or passing it to @code{QQuickStyle::setStyle}).")
    (license license:bsd-3)))

(define-public libdbusmenu-qt
  (package