gnu: goffice: Add "doc" output.

* gnu/packages/gnome.scm (goffice)[outputs, arguments]: New fields.
(goffice-0.8)[arguments]: Append arguments from GOFFICE.
This commit is contained in:
Ludovic Courtès 2015-12-18 10:30:08 +01:00
parent d8c18af834
commit 72a06d3e32
1 changed files with 9 additions and 1 deletions

View File

@ -1470,6 +1470,12 @@ Hints specification (EWMH).")
(sha256 (sha256
(base32 "0nmghi26dpjcw7knkviq031crhm0zjy4k650pv1jj3hb1fmhx9yd")))) (base32 "0nmghi26dpjcw7knkviq031crhm0zjy4k650pv1jj3hb1fmhx9yd"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(outputs '("out"
"doc")) ;4.1 MiB of gtk-doc
(arguments
'(#:configure-flags (list (string-append "--with-html-dir="
(assoc-ref %outputs "doc")
"/share/gtk-doc/html"))))
(inputs (inputs
`(("gtk+" ,gtk+) `(("gtk+" ,gtk+)
("libgsf" ,libgsf) ("libgsf" ,libgsf)
@ -1507,7 +1513,9 @@ Hints specification (EWMH).")
;; https://bugzilla.gnome.org/show_bug.cgi?id=670316 ;; https://bugzilla.gnome.org/show_bug.cgi?id=670316
(substitute* "configure" (substitute* "configure"
(("glib/gregex\\.h") "glib.h")) #t) (("glib/gregex\\.h") "glib.h")) #t)
%standard-phases))) %standard-phases)
,@(package-arguments goffice)))
(propagated-inputs (propagated-inputs
;; libgoffice-0.8.pc mentions libgsf-1 ;; libgoffice-0.8.pc mentions libgsf-1
`(("libgsf" ,libgsf))) `(("libgsf" ,libgsf)))