summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-10-05 17:14:29 +0200
committerLudovic Courtès <ludo@gnu.org>2013-10-05 17:14:29 +0200
commit5ccca0044e719069f4d5cc0d42ec959e6cda2417 (patch)
tree74990575cea2c923bd8b97fff00915bc122644de
parentcfc8261c726ed453d51ad665ddd1be4fc2ab6f85 (diff)
downloadguix-5ccca0044e719069f4d5cc0d42ec959e6cda2417.tar.gz
gnu: ao: Build PulseAudio back-end.
* gnu/packages/oggvorbis.scm (ao): Add PulseAudio as an input.
-rw-r--r--gnu/packages/oggvorbis.scm7
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/oggvorbis.scm b/gnu/packages/oggvorbis.scm
index 950ca8f642..522b87f86a 100644
--- a/gnu/packages/oggvorbis.scm
+++ b/gnu/packages/oggvorbis.scm
@@ -26,6 +26,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages linux)
+  #:use-module (gnu packages pulseaudio)
   #:use-module ((guix licenses)
                 #:renamer (symbol-prefix-proc 'license:))
   #:use-module (guix packages)
@@ -126,8 +127,12 @@ data (e.g., voice mail), and audio books.")
         "1m0v2y6bhr4iwsgdkc7b3y0qgpvpv1ifbxsy8n8ahsvjn6wmppi9"))))
     (build-system gnu-build-system)
     ;; FIXME: Add further backends, see the summary printed after configure.
+    ;; XXX: Should back-ends be pushed to different outputs?  For instance,
+    ;; "out" would include only the ALSA back-end, while "pulse" would
+    ;; contains 'lib/ao/plugins-4/libpulse.*'.
     (inputs `(("pkg-config" ,pkg-config)
-              ("alsa-lib" ,alsa-lib)))
+              ("alsa-lib" ,alsa-lib)
+              ("pulseaudio" ,pulseaudio)))
     (synopsis "Cross platform audio library")
     (description
      "Libao is a cross-platform audio library that allows programs to