gnu: mkfontdir: Do not propagate 'mkfontscale'.

* gnu/packages/xorg.scm (mkfontdir)[propagated-inputs]: Move
'mkfontscale' to ...
[inputs]: ... here.
[arguments]: Add 'wrap-mkfontdir' phase.
This commit is contained in:
Alex Kost 2016-06-29 22:39:02 +03:00
parent e48e31bcc8
commit 84b5d9075c
No known key found for this signature in database
GPG key ID: 82460C082A0EE98F

View file

@ -4631,7 +4631,17 @@ (define-public mkfontdir
(base32
"0c3563kw9fg15dpgx4dwvl12qz6sdqdns1pxa574hc7i5m42mman"))))
(build-system gnu-build-system)
(propagated-inputs
(arguments
'(#:phases
(modify-phases %standard-phases
(add-after 'install 'wrap-mkfontdir
(lambda* (#:key inputs outputs #:allow-other-keys)
(wrap-program (string-append (assoc-ref outputs "out")
"/bin/mkfontdir")
`("PATH" ":" prefix
(,(string-append (assoc-ref inputs "mkfontscale")
"/bin")))))))))
(inputs
`(("mkfontscale" ,mkfontscale)))
(native-inputs
`(("pkg-config" ,pkg-config)))