[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/13: gnu: swaybg: Fix cross-compiling.
From: |
guix-commits |
Subject: |
08/13: gnu: swaybg: Fix cross-compiling. |
Date: |
Mon, 16 Oct 2023 05:39:58 -0400 (EDT) |
efraim pushed a commit to branch core-updates
in repository guix.
commit 12ba03da7f3c6ffbb4a22b9a3ff6ee53ab3d1ebe
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 15 13:08:54 2023 +0300
gnu: swaybg: Fix cross-compiling.
* gnu/packages/wm.scm (swaybg)[inputs]: When cross-compiling add
wayland-protocols.
[native-inputs]: When cross-compiling add pkg-config-for-build, wayland.
---
gnu/packages/wm.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index a27f985f04..4dcdc18df9 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -1836,8 +1836,16 @@ display a clock or apply image manipulation techniques
to the background image."
(sha256
(base32 "1lmqz5bmig90gq2m7lwf02d2g7z4hzf8fhqz78c8vk92c6p4xwbc"))))
(build-system meson-build-system)
- (inputs (list cairo gdk-pixbuf wayland))
- (native-inputs (list pkg-config scdoc wayland-protocols))
+ (inputs
+ (cons* cairo gdk-pixbuf wayland
+ (if (%current-target-system)
+ (list wayland-protocols)
+ '())))
+ (native-inputs
+ (cons* pkg-config scdoc wayland-protocols
+ (if (%current-target-system)
+ (list pkg-config-for-build wayland)
+ '())))
(home-page "https://github.com/swaywm/sway")
(synopsis "Screen wallpaper utility for Wayland compositors")
(description "Swaybg is a wallpaper utility for Wayland compositors.")
- branch core-updates updated (651265562b -> 7e4fdaccbc), guix-commits, 2023/10/16
- 01/13: gnu: libinput-minimal: Fix cross-compiling., guix-commits, 2023/10/16
- 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 <=
- 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
- 07/13: gnu: sway: Fix cross-compiling., guix-commits, 2023/10/16
- 12/13: gnu: xcb-util-errors: Fix cross-compiling., guix-commits, 2023/10/16