me
/
guix
Archived
1
0
Fork 0

gnu: libinput-minimal: Fix cross-compiling.

* gnu/packages/freedesktop.scm (libinput)[native-inputs]: When
cross-compiling add pkg-config-for-build.
[inputs]: When cross-compiling add check.
Efraim Flashner 2023-10-15 12:58:22 +03:00
parent d2923babf3
commit 7744119c3e
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 13 additions and 7 deletions

View File

@ -577,14 +577,20 @@ freedesktop.org project.")
;; Meson target anyway.
#:build-type "release"))
(native-inputs
(list check pkg-config))
(append (list check pkg-config)
(if (%current-target-system)
(list pkg-config-for-build)
'())))
(inputs
(list cairo
glib
gtk+
libevdev
libwacom
mtdev))
(append (list cairo
glib
gtk+
libevdev
libwacom
mtdev)
(if (%current-target-system)
(list check)
'())))
(propagated-inputs
`(;; libinput.h requires <libudev.h>, so propagate it.
("udev" ,eudev)))