mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
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
This commit is contained in:
parent
4ab8657b23
commit
0ad3cc75ae
1 changed files with 7 additions and 3 deletions
|
@ -579,9 +579,13 @@ (define-public shared-mime-info
|
||||||
(inputs
|
(inputs
|
||||||
(list glib libxml2))
|
(list glib libxml2))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list gettext-minimal pkg-config python xdgmime
|
(append
|
||||||
;; For 'doc' output.
|
(if (%current-target-system)
|
||||||
docbook-xml-4.1.2 docbook-xsl xmlto))
|
(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"))
|
(outputs (list "out" "doc"))
|
||||||
(home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
|
(home-page "https://www.freedesktop.org/wiki/Software/shared-mime-info")
|
||||||
(synopsis "Database of common MIME types")
|
(synopsis "Database of common MIME types")
|
||||||
|
|
Loading…
Reference in a new issue