This commit is contained in:
Daniel Ziltener 2024-03-20 19:20:13 +01:00
parent 5105194148
commit 07b8057a74
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -43,6 +43,7 @@
#:use-module (gnu packages python)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages qt)
#:use-module (gnu packages version-control)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages rust)
@ -998,6 +999,7 @@ Wayland compositor based on wlroots") (description "Hyprland.")
(description "EDID and DisplayID library")
(license license:expat)))
(define-public hyprlang
(package
(name "hyprlang")
@ -1050,6 +1052,43 @@ Wayland compositor based on wlroots") (description "Hyprland.")
(description "The hyprland cursor format, library and utilities.")
(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 meson-build-system)
(native-inputs
(list gcc-13
cmake
mesa-headers-24
pkg-config))
(inputs
(list hyprlang
hyprland-protocols
libdrm-2.4.120
mesa-24
pipewire
qtbase
qttools
qtwayland
sdbus-c++
wayland-protocols
wayland))
(home-page "https://www.hyprland.org")
(synopsis "xdg-desktop-portal backend for hyprland")
(description "xdg-desktop-portal backend for hyprland.")
(license license:bsd-3)))
(define-public hyprland
(package
(name "hyprland")
@ -1087,18 +1126,21 @@ Wayland compositor based on wlroots") (description "Hyprland.")
(system "cat src/meson.build"))))))
(native-inputs
(list gcc-13
cmake
jq
git
mesa-headers-24
pkg-config))
(inputs
(list cairo-1.18.0
egl-gbm
egl-wayland
glu
glfw
hyprland-protocols
hyprcursor
hyprlang
xdg-desktop-portal-hyprland
libdisplay-info
libglvnd
libinput-1.25