guix_mirror_bot pushed a commit to branch master
in repository guix.

commit b56e2cd6a79ddce7aacb0bf7598a62f6ad3aa1b9
Author: Dr. P. Roberts <[email protected]>
AuthorDate: Sat Dec 13 04:36:19 2025 +0100

    gnu: Add hyprland-qt-support.
    
    * gnu/packages/qt.scm (hyprland-qt-support): New variable.
    
    Closes: guix/guix#4811
    Change-Id: I27ef41f5b7a2fdc9599344a8d81c8a27714d9732
    Signed-off-by: 宋文武 <[email protected]>
---
 gnu/packages/qt.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index e86341e4fb..8bccf8e27e 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -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

Reply via email to