me
/
guix
Archived
1
0
Fork 0

gnu: shared-mime-info: Fix cross-compiling.

* gnu/packages/freedesktop.scm (shared-mime-info)[native-inputs]: When
cross-compiling add libxml2 and this-package.

Change-Id: I254a685a492b9080342b134ff23d9ccab0ecec3d
master
Efraim Flashner 2024-05-23 14:42:42 +03:00
parent 4ab8657b23
commit 0ad3cc75ae
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 7 additions and 3 deletions

View File

@ -579,9 +579,13 @@ display servers. It supports many different languages and emoji.")
(inputs
(list glib libxml2))
(native-inputs
(list gettext-minimal pkg-config python xdgmime
;; For 'doc' output.
docbook-xml-4.1.2 docbook-xsl xmlto))
(append
(if (%current-target-system)
(list libxml2 this-package)
'())
(list gettext-minimal pkg-config python xdgmime
;; For 'doc' output.
docbook-xml-4.1.2 docbook-xsl xmlto)))
(outputs (list "out" "doc"))
(home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
(synopsis "Database of common MIME types")