Work on Hyprland

This commit is contained in:
Daniel Ziltener 2023-12-10 00:33:27 +01:00
parent 645f72f5f2
commit fdb491f2a4
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -127,9 +127,14 @@ rasterisation.")
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
'("-Dbackends=drm") '("-Dlibinput-backend=enabled"
"-Dauto_features=enabled")
#:phases #:phases
(modify-phases %standard-phases (modify-phases
%standard-phases
(add-before 'configure 'pre-configure
(lambda* (#:key outputs #:allow-other-keys)
(system "pkg-config --list-all")))
(add-before 'configure 'hardcode-paths (add-before 'configure 'hardcode-paths
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(substitute* "xwayland/server.c" (substitute* "xwayland/server.c"
@ -170,6 +175,8 @@ rasterisation.")
`(,hwdata "pnp") `(,hwdata "pnp")
cmake cmake
hwdata hwdata
mesa-headers
vulkan-header
pkg-config pkg-config
wayland wayland
(if (%current-target-system) (if (%current-target-system)