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>
This commit is contained in:
Dr. P. Roberts 2025-12-13 04:36:19 +01:00 committed by 宋文武
parent 72f48ee0d4
commit b56e2cd6a7
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -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