gnu: clutter: Add "doc" output.

* gnu/packages/gnome.scm (clutter)[outputs]: New field.
  [arguments]: Pass --with-html-dir.
This commit is contained in:
Ludovic Courtès 2015-08-30 11:31:05 +02:00
parent 30dc88d975
commit 600233bdd2

View file

@ -2629,6 +2629,8 @@ (define-public clutter
(base32
"1b0ikh9q3c3qnny3kbvhqih35449q8ajcbh7zkm8k3kykwfx4scf"))))
(build-system gnu-build-system)
(outputs '("out"
"doc")) ;9 MiB of gtk-doc HTML pages
(native-inputs
`(("glib:bin" ,glib "bin") ; for glib-genmarshal
("gobject-introspection" ,gobject-introspection)
@ -2649,7 +2651,12 @@ (define-public clutter
`(("libxkbcommon" ,libxkbcommon)
("udev" ,eudev)))
(arguments
`(#:configure-flags '("--enable-x11-backend=yes")
`(#:configure-flags (list "--enable-x11-backend=yes"
;; This produces share/doc/{clutter,cally}.
(string-append "--with-html-dir="
(assoc-ref %outputs "doc")
"/share/doc"))
;; XXX FIXME: Get test suite working. It would probably fail in the
;; same way the cogl tests fail, since clutter is based on cogl.
#:tests? #f))