guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

38/43: gnu: harfbuzz: Support build for the Hurd.


From: guix-commits
Subject: 38/43: gnu: harfbuzz: Support build for the Hurd.
Date: Thu, 20 Jul 2023 04:22:30 -0400 (EDT)

janneke pushed a commit to branch master
in repository guix.

commit dd3f9a7a49616cd2db9a0cc2d4640aebde2664ef
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Tue Jun 13 13:50:38 2023 +0200

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

diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index c5ec7bcdc2..5b88a9d31e 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -276,11 +276,13 @@ output.  Experimental backends include OpenGL, BeOS, 
OS/2, and DirectFB.")
      ;; There are all in the Requires or Requires.private field of '.pc'.
      (list glib graphite2 icu4c))
     (native-inputs
-     (list `(,glib "bin")               ;for glib-mkenums
-           gobject-introspection
-           pkg-config
-           python-wrapper
-           which))
+     (append (list `(,glib "bin"))      ;for glib-mkenums
+             (if (target-hurd?)
+                 '()
+                 (list gobject-introspection))
+             (list pkg-config
+                   python-wrapper
+                   which)))
     (arguments
      (list #:configure-flags
            #~(list "--with-graphite2"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]