me
/
guix
Archived
1
0
Fork 0

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

This fixes a configure error when cross-compiling and doesn't
cause any rebuilds.

* gnu/packages/gnome.scm (gusb)[arguments]<#:configure-flags>:
  Set 'introspection' and 'vapi' to false.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
master
Maxime Devos 2021-09-23 23:50:28 +02:00 committed by Mathieu Othacehe
parent 38df0c0334
commit 02c4344554
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 8 additions and 1 deletions

View File

@ -6573,7 +6573,14 @@ DAV, and others.")
`(("glib" ,glib)
("libusb" ,libusb)))
(arguments
`(#:tests? #f)) ;libusb fails to initialize. Wonder what that is.
`(#:tests? #f ;libusb fails to initialize. Wonder what that is.
#:configure-flags
,(if (%current-target-system)
;; Introspection data cannot currently be cross-compiled.
''("-Dintrospection=false"
;; Requires introspection data.
"-Dvapi=false")
''())))
(home-page "https://github.com/hughsie/libgusb")
(synopsis "GLib binding for libusb1")
(description