summaryrefslogtreecommitdiff
path: root/gnu/packages/gnome.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-04-20 00:14:06 +0200
committerLudovic Courtès <ludo@gnu.org>2023-04-20 00:14:06 +0200
commit1344c3388a87d427209f63bdbfacabbd4c0a1033 (patch)
tree5be91400e41cf21dffe290568d67aea39397b62d /gnu/packages/gnome.scm
parent0e2e7c7554ca5dc6b4f547e61d97e2d5b07f7799 (diff)
gnu: libsoup: Depend on Samba only on supported systems.
This unlocks gtk+@3 on i686-linux, which so far was unavailable because Samba depends on Rust. * gnu/packages/gnome.scm (libsoup-minimal)[inputs]: Have 'samba/pinned' dependency only on supported systems.
Diffstat (limited to 'gnu/packages/gnome.scm')
-rw-r--r--gnu/packages/gnome.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index dd44fcff75..f1ec90ab39 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -5154,7 +5154,14 @@ as OpenStreetMap, OpenCycleMap, OpenAerialMap and Maps.")
sqlite
zlib))
(inputs
- (list mit-krb5 samba/pinned)) ; For ntlm_auth support
+ (append (list mit-krb5)
+
+ ;; Samba is an optional dependency that depends on Rust, which is
+ ;; missing on some systems such as i686-linux.
+ (if (and (not (%current-target-system))
+ (supported-package? samba/pinned))
+ (list samba/pinned) ;for ntlm_auth support
+ '())))
(home-page "https://wiki.gnome.org/Projects/libsoup")
(synopsis "GLib-based HTTP Library")
(description