guix-commits
[Top][All Lists]
Advanced

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

06/17: gnu: librsvg: Build without gobject-introspection for the Hurd.


From: guix-commits
Subject: 06/17: gnu: librsvg: Build without gobject-introspection for the Hurd.
Date: Thu, 14 Sep 2023 18:19:03 -0400 (EDT)

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

commit a6cc53445e0686169768cb07a93552ac95a07ec9
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
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 36fe1a80a1..c32e78be09 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3637,7 +3637,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")



reply via email to

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