guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: wayland-protocols: Fix cross-compilation


From: guix-commits
Subject: branch master updated: gnu: wayland-protocols: Fix cross-compilation
Date: Tue, 30 Aug 2022 03:18:55 -0400

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 6beadc82df gnu: wayland-protocols: Fix cross-compilation
6beadc82df is described below

commit 6beadc82df204f315d06ea35f2e232bb32f8e440
Author: Tobias Kortkamp <tobias.kortkamp@gmail.com>
AuthorDate: Fri Aug 26 12:14:58 2022 +0200

    gnu: wayland-protocols: Fix cross-compilation
    
    * gnu/packages/freedesktop.scm (wayland-protocols): Fix cross-compilation
    [native-inputs]: Add pkg-config-for-build and wayland.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 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 a902fac153..d9f48b791a 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -1074,8 +1074,11 @@ fullscreen) or other display servers.")
     (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]