summary refs log tree commit diff
diff options
context:
space:
mode:
author宋文武 <iyzsong@gmail.com>2015-04-04 12:30:25 +0800
committer宋文武 <iyzsong@gmail.com>2015-04-04 12:42:28 +0800
commite9a8212959bd3df13ee18f018299e43bccfafc68 (patch)
tree484e18316742da5b5579dd529728f4518b85bd3a
parent34ff76fdd63ef52635d93c545d698f4d340bfa14 (diff)
downloadguix-e9a8212959bd3df13ee18f018299e43bccfafc68.tar.gz
gnu: gst-plugins-base: Move html documentation to 'doc' output.
* gnu/packages/gstreamer.scm (gstreamer)[outputs]: New field.
  [arguments]: Add #:configure-flags.
-rw-r--r--gnu/packages/gstreamer.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 79de8a222b..e941f8b2a0 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -158,6 +158,7 @@ This package provides the core library and elements.")
        (base32
         "07ampnfa6p41s0lhia62l9h8bdx3c7vxvdz93pbx64m3wycq3gbp"))))
     (build-system gnu-build-system)
+    (outputs '("out" "doc"))
     (propagated-inputs
      `(("gstreamer" ,gstreamer))) ; required by gstreamer-plugins-base-1.0.pc
     (inputs
@@ -177,7 +178,11 @@ This package provides the core library and elements.")
         ("glib" ,glib "bin")
         ("python-wrapper" ,python-wrapper)))
     (arguments
-     '(#:phases
+     `(#:configure-flags
+       (list (string-append "--with-html-dir="
+                            (assoc-ref %outputs "doc")
+                            "/share/gtk-doc/html"))
+       #:phases
        (alist-cons-before
         'configure 'patch-test-pb-utils
         (lambda _