From dd3f9a7a49616cd2db9a0cc2d4640aebde2664ef Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Tue, 13 Jun 2023 13:50:38 +0200 Subject: 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" -- cgit v1.2.3