From e9a8212959bd3df13ee18f018299e43bccfafc68 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= <iyzsong@gmail.com>
Date: Sat, 4 Apr 2015 12:30:25 +0800
Subject: [PATCH] gnu: gst-plugins-base: Move html documentation to 'doc'
 output.

* gnu/packages/gstreamer.scm (gstreamer)[outputs]: New field.
  [arguments]: Add #:configure-flags.
---
 gnu/packages/gstreamer.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 79de8a222b0..e941f8b2a09 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -158,6 +158,7 @@ (define-public gst-plugins-base
        (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 @@ (define-public gst-plugins-base
         ("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 _
-- 
GitLab