.
This commit is contained in:
parent
ff87418860
commit
c95c05c50b
1 changed files with 50 additions and 0 deletions
|
@ -361,3 +361,53 @@ more.")
|
|||
(synopsis "Hyprland's GPU-accelerated screen locking utility")
|
||||
(description "Hyprland's simple, yet multi-threaded and GPU-accelerated screen locking utility.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public xdg-desktop-portal-hyprland
|
||||
(package
|
||||
(name "xdg-desktop-portal-hyprland")
|
||||
(version "1.3.1")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/hyprwm/xdg-desktop-portal-hyprland")
|
||||
(commit (string-append "v" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0fdbzxanmmzrvb9wfzg1pdsnlg7dl6v5k8bl44w10n48s7bbbzn0"))))
|
||||
(build-system qt-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f ;No tests
|
||||
#:qtbase qtbase
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-path
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* (find-files "." "\\.cp?*$")
|
||||
(("/bin/sh") "sh")
|
||||
(("\\<(sh|grim|hyprctl|slurp)\\>" _ cmd)
|
||||
(search-input-file inputs (string-append "/bin/" cmd)))
|
||||
(("\\<(hyprland-share-picker)\\>" _ cmd)
|
||||
(string-append #$output "/bin/" cmd))))))))
|
||||
(native-inputs
|
||||
(list gcc-13 pkg-config wayland))
|
||||
(inputs
|
||||
(list bash-minimal
|
||||
grim
|
||||
hyprland
|
||||
rosenthal:hyprland-protocols
|
||||
rosenthal:hyprlang
|
||||
mesa
|
||||
pipewire
|
||||
qtwayland
|
||||
sdbus-c++
|
||||
slurp
|
||||
wayland-protocols))
|
||||
(home-page "https://github.com/hyprwm/xdg-desktop-portal-hyprland")
|
||||
(synopsis "XDG Desktop Portal backend for Hyprland")
|
||||
(description
|
||||
"This package provides @code{xdg-desktop-portal-hyprland}, which extends
|
||||
@code{xdg-desktop-portal-wlr} for Hyprland with support for
|
||||
@code{xdg-desktop-portal} screenshot and casting interfaces, while adding a few
|
||||
extra portals specific to Hyprland, mostly for window sharing.")
|
||||
(license license:bsd-3)))
|
||||
|
|
Loading…
Reference in a new issue