summaryrefslogtreecommitdiff
path: root/sigils/packages/hyprland.scm
diff options
context:
space:
mode:
authorSisiutl <sisiutl@egregore.fun>2024-11-15 01:10:18 +0100
committerSisiutl <sisiutl@egregore.fun>2024-11-15 01:10:18 +0100
commit23369baaa98f740fde6d4c588b60ea5cf57ff1a5 (patch)
tree2aa0ae63d68349ded842d3f6ce2238a685e75bb2 /sigils/packages/hyprland.scm
parent06e744e1aa742f3af4591c16b1bccca5c1bb49df (diff)
xdg-desktop-portal-hyprland
Diffstat (limited to 'sigils/packages/hyprland.scm')
-rw-r--r--sigils/packages/hyprland.scm35
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)))