janneke pushed a commit to branch hurd-team
in repository guix.
commit d104c78c1d3c489550e58b678323e710b8970e90
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Sat Sep 2 17:22:40 2023 +0200
gnu: librsvg: Build without gobject-introspection for the Hurd.
* gnu/packages/gnome.scm (librsvg)[native-inputs]: Omit
gobject-introspection
when building for the Hurd.
---
gnu/packages/gnome.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index 4a2e867476..7e0cabc399 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3636,7 +3636,16 @@ for dealing with different structured file formats.")
#:test-target "check")))
(replace 'install
(assoc-ref gnu:%standard-phases 'install)))))
- (native-inputs (list `(,glib "bin") gobject-introspection pkg-config vala))
+ (native-inputs
+ (append
+ (list `(,glib "bin"))
+ (if (target-hurd? (or (%current-system)
+ (%current-target-system)))
+ '()
+ (list gobject-introspection))
+ (list
+ pkg-config
+ vala)))
(inputs (list freetype harfbuzz libxml2 pango))
(propagated-inputs (list cairo gdk-pixbuf glib))
(synopsis "SVG rendering library")