mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-10 13:19:40 -05:00
gnu: cairomm: Enable documentation.
* gnu/packages/gtk.scm (cairomm)[outputs]: New output "doc". [arguments]<#:configure-flags>[-Dbuild-documentation]: New flag. <#:phases>['move-doc]: New phase. [native-inputs]: Add doxygen, graphviz, perl and libxslt. Signed-off-by: Léo Le Bouter <lle-bout@zaclys.net>
This commit is contained in:
parent
a1b965f882
commit
ca81e057b2
1 changed files with 19 additions and 2 deletions
|
@ -1274,15 +1274,32 @@ (define-public cairomm
|
||||||
(base32
|
(base32
|
||||||
"1ya4y7qa000cjawqwswbqv26y5icfkmhs5iiiil4dxgrqn91923y"))))
|
"1ya4y7qa000cjawqwswbqv26y5icfkmhs5iiiil4dxgrqn91923y"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
|
(outputs '("out" "doc"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
||||||
#:configure-flags
|
#:configure-flags
|
||||||
(list
|
(list
|
||||||
"-Dboost-shared=true")))
|
"-Dbuild-documentation=true"
|
||||||
|
"-Dboost-shared=true")
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'install 'move-doc
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
(doc (assoc-ref outputs "doc")))
|
||||||
|
(mkdir-p (string-append doc "/share"))
|
||||||
|
(rename-file
|
||||||
|
(string-append out "/share/doc")
|
||||||
|
(string-append doc "/share/doc"))
|
||||||
|
#t))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("boost" ,boost)
|
`(("boost" ,boost)
|
||||||
|
("dot" ,graphviz)
|
||||||
|
("doxygen" ,doxygen)
|
||||||
("mm-common" ,mm-common)
|
("mm-common" ,mm-common)
|
||||||
("pkg-config" ,pkg-config)))
|
("perl" ,perl)
|
||||||
|
("pkg-config" ,pkg-config)
|
||||||
|
("xsltproc" ,libxslt)))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("libsigc++" ,libsigc++)
|
`(("libsigc++" ,libsigc++)
|
||||||
("freetype" ,freetype)
|
("freetype" ,freetype)
|
||||||
|
|
Loading…
Reference in a new issue