[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/12: gnu: libinput-minimal: Fix cross-compiling.
From: |
guix-commits |
Subject: |
01/12: gnu: libinput-minimal: Fix cross-compiling. |
Date: |
Sun, 15 Oct 2023 06:15:55 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 7744119c3e9b4050afa942445d527b9596b63911
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 15 12:58:22 2023 +0300
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.
---
gnu/packages/freedesktop.scm | 20 +++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 0a1c9bffb3..6bff3fa967 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -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)))
- branch master updated (d2923babf3 -> e1600546b9), guix-commits, 2023/10/15
- 02/12: gnu: mesa: Fix cross-compiling., guix-commits, 2023/10/15
- 12/12: gnu: xcb-util-errors: Fix cross-compiling., guix-commits, 2023/10/15
- 09/12: gnu: libxkbcommon: Fix cross-compiling., guix-commits, 2023/10/15
- 07/12: gnu: sway: Fix cross-compiling., guix-commits, 2023/10/15
- 01/12: gnu: libinput-minimal: Fix cross-compiling.,
guix-commits <=
- 04/12: gnu: libtirpc: Keep reference to mit-krb5 when cross-compiling., guix-commits, 2023/10/15
- 05/12: gnu: poppler: Fix cross-compiling., guix-commits, 2023/10/15
- 11/12: gnu: xorg-server-xwayland: Fix cross-compiling., guix-commits, 2023/10/15
- 03/12: gnu: nss: Fix cross-compiling., guix-commits, 2023/10/15
- 08/12: gnu: swaybg: Fix cross-compiling., guix-commits, 2023/10/15
- 06/12: gnu: wlroots: Fix cross-compiling., guix-commits, 2023/10/15
- 10/12: gnu: egl-wayland: Fix cross-compiling., guix-commits, 2023/10/15