diff options
Diffstat (limited to 'sigils/packages')
-rw-r--r-- | sigils/packages/hyprland.scm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sigils/packages/hyprland.scm b/sigils/packages/hyprland.scm index a6aca03..13a79f3 100644 --- a/sigils/packages/hyprland.scm +++ b/sigils/packages/hyprland.scm @@ -28,6 +28,7 @@ #:use-module (gnu packages pciutils) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages qt) #:use-module (gnu packages wm) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) @@ -418,3 +419,37 @@ utility.") (description "Hyprland's idle daemon, based on the @dfn{ext-idle-notify-v1} protocol.") (license license:bsd-3))) + +(define-public xdg-desktop-portal-hyprland + (package + (name "xdg-desktop-portal-hyprland") + (version "1.3.8") + (home-page "https://hyprland.org/") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://code.hyprland.org/hyprwm/xdg-desktop-portal-hyprland") + (commit (string-append "v" version)))) + (sha256 + (base32 "0aixrjyky2mzclnwypybpg01ihfbmwzfv09zbjis49q1clrszq2p")))) + (build-system cmake-build-system) + (native-inputs (list gcc-13 ;; TODO: remove this when GCC 13 is the default + pkg-config + hyprwayland-scanner)) + (inputs (list mesa + hyprland-protocols + hyprlang + hyprutils + libdrm + pipewire + sdbus-c++-next + qtbase + wayland + wayland-protocols-next)) + (arguments '(#:tests? #f ;; No tests + #:build-type "release")) + (synopsis "XDG desktop portal backend for Hyprland") + (description "xdg-desktop-portal-hyprland is Hyprland’s xdg-desktop-portal +implementation. It allows for screensharing, global shortcuts, etc.") + (license license:bsd-3))) |