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>
This commit is contained in:
parent
80f6e5a9ea
commit
24eb32f280
1 changed files with 5 additions and 1 deletions
|
@ -2259,7 +2259,11 @@ (define-public slurp
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue