diff options
author | Raghav Gururajan <rg@raghavgururajan.name> | 2021-09-07 16:12:49 -0400 |
---|---|---|
committer | Raghav Gururajan <rg@raghavgururajan.name> | 2021-09-07 16:12:49 -0400 |
commit | c33d605e33cdc326a8dd76feda9be134e4d08fee (patch) | |
tree | a9161ee5d8c0fdcfd488c105590508e75c569e3d | |
parent | e3bed84f6cbe372b8e25fe3f1c896d23e454e5b8 (diff) | |
download | guix-c33d605e33cdc326a8dd76feda9be134e4d08fee.tar.gz |
gnu: gtksourceviewmm: Enable documentation.
* gnu/packages/gtk.scm (gtksourceviewmm)[outputs]: New output "doc". [phases](move-doc): New phase. [native-inputs]: Add doxygen, graphviz, libxslt and perl.
-rw-r--r-- | gnu/packages/gtk.scm | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index 4b996be673..37b37666f8 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -1957,8 +1957,24 @@ tutorial.") (sha256 (base32 "1danc9mp5mnb65j01qxkwj92z8jf1gns41wbgp17qh7050f0pc6v")))) (build-system gnu-build-system) + (outputs '("out" "doc")) + (arguments + `(#: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")))))))) (native-inputs - `(("pkg-config" ,pkg-config))) + `(("doxygen" ,doxygen) + ("graphviz" ,graphviz) ;provides dot + ("libxslt" ,libxslt) + ("perl" ,perl) + ("pkg-config" ,pkg-config))) (propagated-inputs ;; In 'Requires' of gtksourceviewmm-3.0.pc. `(("glibmm" ,glibmm-2.64) |