guix-commits
[Top][All Lists]
Advanced

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

36/58: gnu: harfbuzz: Support build for the Hurd.


From: guix-commits
Subject: 36/58: gnu: harfbuzz: Support build for the Hurd.
Date: Wed, 19 Jul 2023 03:00:49 -0400 (EDT)

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

commit ab74c5fe1784b086278e20628348758ca833f1ab
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 8e9a9dc8b2..645084c501 100644
--- a/gnu/packages/gtk.scm
+++ b/gnu/packages/gtk.scm
@@ -269,11 +269,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]