[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: gnu: gtksourceviewmm: Enable documentation.
From: |
guix-commits |
Subject: |
03/03: gnu: gtksourceviewmm: Enable documentation. |
Date: |
Tue, 7 Sep 2021 16:16:49 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit c33d605e33cdc326a8dd76feda9be134e4d08fee
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Tue Sep 7 16:12:49 2021 -0400
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.
---
gnu/packages/gtk.scm | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm
index 4b996be..37b3766 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)