me
/
guix
Archived
1
0
Fork 0

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>
master
Zheng Junjie 2023-12-30 18:52:02 +08:00 committed by Mathieu Othacehe
parent 80f6e5a9ea
commit 24eb32f280
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 5 additions and 1 deletions

View File

@ -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")