[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/13: gnu: libinput-minimal: Fix cross-compiling.
From: |
guix-commits |
Subject: |
01/13: gnu: libinput-minimal: Fix cross-compiling. |
Date: |
Mon, 16 Oct 2023 05:39:57 -0400 (EDT) |
efraim pushed a commit to branch core-updates
in repository guix.
commit 3adef1de5389ce197a1a71ee463a83bbdb84ddbc
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 cf8959d34c..30aa436016 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -554,14 +554,20 @@ freedesktop.org project.")
;; Meson target anyway.
#:build-type "release"))
(native-inputs
- (list check pkg-config python-minimal-wrapper python-pytest))
+ (append (list check pkg-config python-minimal-wrapper python-pytest)
+ (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 core-updates updated (651265562b -> 7e4fdaccbc), guix-commits, 2023/10/16
- 01/13: gnu: libinput-minimal: Fix cross-compiling.,
guix-commits <=
- 06/13: gnu: wlroots: Fix cross-compiling., guix-commits, 2023/10/16
- 10/13: gnu: egl-wayland: Fix cross-compiling., guix-commits, 2023/10/16
- 03/13: gnu: nss: Fix cross-compiling., guix-commits, 2023/10/16
- 04/13: gnu: libtirpc: Keep reference to mit-krb5 when cross-compiling., guix-commits, 2023/10/16
- 09/13: gnu: libxkbcommon: Fix cross-compiling., guix-commits, 2023/10/16
- 08/13: gnu: swaybg: Fix cross-compiling., guix-commits, 2023/10/16
- 13/13: gnu: nss: Set CCC unconditionally., guix-commits, 2023/10/16
- 11/13: gnu: xorg-server-xwayland: Fix cross-compiling., guix-commits, 2023/10/16
- 02/13: gnu: mesa: Fix cross-compiling., guix-commits, 2023/10/16
- 05/13: gnu: poppler: Fix cross-compiling., guix-commits, 2023/10/16