From d8217355f2691a92a3c64fea939827a314952a77 Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Tue, 30 Jul 2024 17:51:32 +0800 Subject: gnu: wayvnc: Fix cross-compiling. * gnu/packages/vnc.scm (wayvnc)[native-inputs]: When cross-compiling, add wayland. Change-Id: Iebe8bb1959c7df80b98c49913e2aa3348bae679a --- gnu/packages/vnc.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/vnc.scm b/gnu/packages/vnc.scm index e26d8a3e35..f369e3bf40 100644 --- a/gnu/packages/vnc.scm +++ b/gnu/packages/vnc.scm @@ -695,7 +695,12 @@ authentication, SSH tunneling, and ZRLE or Tight encoding.") (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 -- cgit v1.2.3