janneke pushed a commit to branch wip-hurd
in repository guix.

commit 48090252bf5d27e82695167406bf25f46d1dad16
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Tue Jun 13 13:52:24 2023 +0200

    gnu: pango: Support build for the Hurd.
    
    * gnu/packages/gtk.scm (pango)[native-inputs]: Do not include
    gobject-introspection when building for the Hurd.
---
 gnu/packages/gtk.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 077cae6065..cd4af42e28 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -415,12 +415,14 @@ applications.")
      (list bash-minimal
            zlib))
     (native-inputs
-     (list `(,glib "bin")               ;glib-mkenums, etc.
-           gobject-introspection        ;g-ir-compiler, etc.
-           help2man
-           perl
-           pkg-config
-           python-wrapper))
+     `((,glib "bin")               ;glib-mkenums, etc.
+       ,@(if (target-hurd?)
+             '()
+             (list gobject-introspection)) ;g-ir-compiler, etc.
+       ,help2man
+       ,perl
+       ,pkg-config
+       ,python-wrapper))
     (synopsis "Text and font handling library")
     (description "Pango is a library for laying out and rendering of text, with
 an emphasis on internationalization.  Pango can be used anywhere that text

Reply via email to