gnu: mkfontdir: Do not propagate 'mkfontscale'.

* gnu/packages/xorg.scm (mkfontdir)[propagated-inputs]: Move
'mkfontscale' to ...
[inputs]: ... here.
[arguments]: Add 'wrap-mkfontdir' phase.
master
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
1 changed files with 11 additions and 1 deletions

View File

@ -4631,7 +4631,17 @@ protocol and arbitrary X extension protocol.")
(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)))