gnu: graphene: Don't build introspection data when cross-compiling.

* gnu/packages/gtk.scm (graphene)[arguments]<#:configure-flags>: Set
  introspection=false when cross-compiling.
This commit is contained in:
Maxime Devos 2021-08-24 14:38:57 +02:00 committed by Mathieu Othacehe
parent 0d7888acf0
commit 9e6b25505a
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -2291,7 +2291,11 @@ (define-public graphene
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:configure-flags
(list
"-Dinstalled_tests=false")))
"-Dinstalled_tests=false"
,@(if (%current-target-system)
;; Introspection requires running binaries for 'host' on 'build'.
'("-Dintrospection=false")
'()))))
(native-inputs
`(("git" ,git-minimal)
("gobject-introspection" ,gobject-introspection)