GNU bug report logs - #77505
[PATCH] gnu: qt: Add hyprland-qt-support.

Previous Next

Package: guix-patches;

Reported by: Daniel Ziltener <dziltener <at> lyrion.ch>

Date: Thu, 3 Apr 2025 20:44:02 UTC

Severity: normal

Tags: patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Daniel Ziltener <dziltener <at> lyrion.ch>
To: guix-patches <at> gnu.org
Cc: Daniel Ziltener <dziltener <at> lyrion.ch>
Subject: [PATCH] gnu: qt: Add hyprland-qt-support.
Date: Thu,  3 Apr 2025 22:41:13 +0200
Adds hyprland-qt-support. I hope this is a fitting module. Maybe we should think about adding a hyprland-xyz module at some point?

---
 gnu/packages/qt.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 94cc879f4a..17dad66af5 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -442,6 +442,48 @@ (define-public materialdecoration
       (home-page "https://github.com/lirios/materialdecoration")
       (license license:lgpl3+))))
 
+(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))))
+     (sha256
+      (base32
+       "0rxdj8l985bvsg3gca79jb4rf0dy066x5cmxsyyavlcp7yz6irps"))))
+   (build-system qt-build-system)
+   (arguments
+    (list
+     #:tests? #false
+     #:qtbase qtbase
+     #:configure-flags
+     #~(list
+        "-DUSE_QT6=ON"
+        "-DCMAKE_BUILD_TYPE:STRING=Release"
+        "-DINSTALL_QML_PREFIX=/lib/qt6/qml")))
+   (native-inputs
+    (list
+     gcc-14
+     pkg-config
+     vulkan-headers))
+   (inputs
+    (list
+     qtbase
+     qtdeclarative
+     qtsvg
+     qtwayland
+     hyprlang))
+   (home-page "https://github.com/hyprwm/hyprland-qt-support")
+   (synopsis "A qml style provider for hypr* qt apps")
+   (description "A qml style provider for hypr* qt apps. \
+Launch a qt/qmp app with @code{QT_QUICK_CONTROLS_STYLE=org.hyprland.style}.")
+   (license license:bsd-3)))
+
 (define-public grantlee
   (package
     (name "grantlee")
-- 
2.49.0





This bug report was last modified 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.