gnu: gtk-doc: Enable help.

* gnu/packages/gtk.scm (gtk-doc) [outputs]: New output 'help'.
[arguments]<#:configure-flags>[--with-help-dir]: New flag.

Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
This commit is contained in:
Raghav Gururajan 2021-03-12 09:13:14 -05:00
parent de40b56942
commit cd01e36d8a
No known key found for this signature in database
GPG key ID: 45A8B1E86BCD10A6

View file

@ -1743,6 +1743,7 @@ (define-public gtk-doc
(base32
"0z4h1dggpimygdp719l457jvqilps4qcfpk31jmj3jqpzcsg03ny"))))
(build-system glib-or-gtk-build-system)
(outputs '("out" "help"))
(arguments
`(#:parallel-tests? #f
#:phases
@ -1799,7 +1800,10 @@ (define-public gtk-doc
#:configure-flags
(list (string-append "--with-xml-catalog="
(assoc-ref %build-inputs "docbook-xml")
"/xml/dtd/docbook/catalog.xml"))))
"/xml/dtd/docbook/catalog.xml")
(string-append "--with-help-dir="
(assoc-ref %outputs "help")
"/share/help"))))
(native-inputs
`(("gettext" ,gettext-minimal)
("glib:bin" ,glib "bin")