gnu: wayvnc: Fix cross-compiling.

* gnu/packages/vnc.scm (wayvnc)[native-inputs]: When cross-compiling, add
wayland.

Change-Id: Iebe8bb1959c7df80b98c49913e2aa3348bae679a
This commit is contained in:
Zheng Junjie 2024-07-30 17:51:32 +08:00
parent 83cb01c666
commit d8217355f2
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -695,7 +695,12 @@ (define-public wayvnc
(sha256
(base32 "1k02i70v8niqvadzfrki8q6wiymcfdqanc9zlmzdslw2bpdhqq90"))))
(build-system meson-build-system)
(native-inputs (list pkg-config scdoc))
(native-inputs
(append (if (%current-target-system)
;; for wayland-scanner
(list wayland)
'())
(list pkg-config scdoc)))
(inputs (list aml
neatvnc
zlib