guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: kanshi: Fix cross-compilation.


From: guix-commits
Subject: 02/05: gnu: kanshi: Fix cross-compilation.
Date: Fri, 23 Aug 2024 10:43:22 -0400 (EDT)

z572 pushed a commit to branch master
in repository guix.

commit bf3482bc4d1be81d4b4eea0c08b403544dd186b8
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Fri Aug 23 14:02:14 2024 +0800

    gnu: kanshi: Fix cross-compilation.
    
    * gnu/packages/wm.scm (kanshi)[native-inputs]: Add wayland. Remove
    libscfg. When cross-compilation, Add pkg-config-for-build.
    [inputs]: Add libscfg.
    
    Change-Id: I45c17196dfc85157afa31dd4ae6db579dfc37723
---
 gnu/packages/wm.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 16a85981f4..e2d863a1a3 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2374,8 +2374,11 @@ compositors that support the layer-shell protocol.")
        (sha256
         (base32 "0g5glpkcn54ypfym4lpfdjai479yfazcai1rg86bn72nkcbpwfql"))))
     (build-system meson-build-system)
-    (inputs (list wayland))
-    (native-inputs (list pkg-config scdoc libscfg))
+    (inputs (list libscfg wayland))
+    (native-inputs (append (if (%current-target-system)
+                               (list pkg-config-for-build)
+                               (list))
+                           (list pkg-config scdoc wayland)))
     (home-page "https://wayland.emersion.fr/kanshi";)
     (synopsis "Hotswappable output profiles for Wayland")
     (description "Kanshi allows you to define output profiles that are



reply via email to

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