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