unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#57430] [PATCH] gnu: wayland-protocols: Fix cross-compilation
@ 2022-08-26 10:14 Tobias Kortkamp
  2022-08-26 15:04 ` Maxime Devos
  2022-08-30  7:18 ` bug#57430: " Mathieu Othacehe
  0 siblings, 2 replies; 9+ messages in thread
From: Tobias Kortkamp @ 2022-08-26 10:14 UTC (permalink / raw)
  To: 57430; +Cc: Tobias Kortkamp

* gnu/packages/freedesktop.scm (wayland-protocols): Fix cross-compilation
[native-inputs]: Add pkg-config-for-build and wayland.
---
 gnu/packages/freedesktop.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 037a247243..c0a94c6623 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1074,8 +1074,11 @@ (define-public wayland-protocols
     (build-system meson-build-system)
     (inputs
      (list wayland))
-    (native-inputs
-     (list pkg-config python))
+    (native-inputs (cons* pkg-config python
+                          (if (%current-target-system)
+                              (list pkg-config-for-build
+                                    wayland) ; for wayland-scanner
+                              '())))
     (synopsis "Wayland protocols")
     (description "Wayland-Protocols contains Wayland protocols that add
 functionality not available in the Wayland core protocol.  Such protocols either
-- 
2.37.1





^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-08-30  7:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26 10:14 [bug#57430] [PATCH] gnu: wayland-protocols: Fix cross-compilation Tobias Kortkamp
2022-08-26 15:04 ` Maxime Devos
2022-08-26 16:59   ` muradm
2022-08-26 18:58     ` Maxime Devos
2022-08-26 19:22       ` Liliana Marie Prikler
2022-08-26 20:34         ` Maxime Devos
2022-08-27 10:40       ` Tobias Kortkamp
2022-08-27 11:02         ` Maxime Devos
2022-08-30  7:18 ` bug#57430: " Mathieu Othacehe

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).