~ruther/guix-local

bf3482bc4d1be81d4b4eea0c08b403544dd186b8 — Zheng Junjie 1 year, 11 months ago 883e900
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
1 files changed, 5 insertions(+), 2 deletions(-)

M gnu/packages/wm.scm
M gnu/packages/wm.scm => gnu/packages/wm.scm +5 -2
@@ 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