aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2023-12-30 18:52:02 +0800
committerMathieu Othacehe <othacehe@gnu.org>2024-01-03 15:32:01 +0100
commit24eb32f2806fb7d42f4b560422d3f1715cd46e85 (patch)
treeb42b44715f30e4876676a291a1a57112aaf230b0
parent80f6e5a9ea87bb6665d6323c5a73ad5e929409fa (diff)
downloadguix-24eb32f2806fb7d42f4b560422d3f1715cd46e85.tar.gz
guix-24eb32f2806fb7d42f4b560422d3f1715cd46e85.zip
gnu: slurp: Fix cross-compiling.
gnu/packages/image.scm(slurp): [native-inputs]: When cross compiling, add wayland, pkg-config-for-build. Change-Id: I5000d681b1428c5b7d123239c1f1ba00f121fb7e Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
-rw-r--r--gnu/packages/image.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 79f1a293ec..9179cb8b90 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -2259,7 +2259,11 @@ identical visual appearance.")
(base32 "1i6g4dfiv2mwkjvvrx3wizb1n05xmd4j9nkhdii4klwd1gdrhjwd"))))
(build-system meson-build-system)
(native-inputs
- (list pkg-config scdoc))
+ (append (if (%current-target-system)
+ ;; for wayland-scanner
+ (list wayland pkg-config-for-build)
+ '())
+ (list pkg-config scdoc)))
(inputs
(list cairo libxkbcommon wayland wayland-protocols))
(home-page "https://github.com/emersion/slurp")