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.
parent
d2923babf3
commit
7744119c3e
|
@ -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)))
|
||||
|
|
Reference in New Issue