aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-04-04 11:33:14 +0800
committer宋文武 <iyzsong@gmail.com>2015-04-04 12:42:28 +0800
commit2fb016b8f1dc0b4b56653e4248e2697af61e5686 (patch)
treed85aa6013e68a65f1b9f27719503034a7810d544
parent0f998a140e03f270fa67d43f86dbf826f2e74d60 (diff)
downloadpatches-2fb016b8f1dc0b4b56653e4248e2697af61e5686.tar
patches-2fb016b8f1dc0b4b56653e4248e2697af61e5686.tar.gz
gnu: gstreamer: Move html documentation to 'doc' output.
* gnu/packages/gstreamer.scm (gstreamer)[outputs]: New field. [arguments]: Add #:configure-flags.
-rw-r--r--gnu/packages/gstreamer.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 9b113fdf40..7d0da6add8 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -88,7 +88,13 @@ arrays of data.")
(base32
"1bmhbhak6i5wmmb6w86jyyv8lax4gdq983la4lk4a0krz6kim020"))))
(build-system gnu-build-system)
- (arguments '(#:make-flags '("CC=gcc"))) ; for g-ir-scanner.
+ (outputs '("out" "doc"))
+ (arguments
+ `(#:make-flags '("CC=gcc") ; for g-ir-scanner.
+ #:configure-flags
+ (list (string-append "--with-html-dir="
+ (assoc-ref %outputs "doc")
+ "/share/gtk-doc/html"))))
(propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
(native-inputs
`(("bison" ,bison)