From b56e2cd6a79ddce7aacb0bf7598a62f6ad3aa1b9 Mon Sep 17 00:00:00 2001 From: "Dr. P. Roberts" Date: Sat, 13 Dec 2025 04:36:19 +0100 Subject: [PATCH] gnu: Add hyprland-qt-support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/qt.scm (hyprland-qt-support): New variable. Closes: guix/guix#4811 Change-Id: I27ef41f5b7a2fdc9599344a8d81c8a27714d9732 Signed-off-by: 宋文武 --- gnu/packages/qt.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index e86341e4fbb..8bccf8e27e6 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