gnu: pulseaudio: Enable support for Bluetooth.

* gnu/packages/pulseaudio.scm (pulseaudio)[arguments]: Add
"--enable-bluez5" to configure flags.
[inputs]: Add "bluez" and "sbc".
This commit is contained in:
Ricardo Wurmus 2016-05-14 11:34:30 +02:00
parent 8601feaea6
commit de1b319dbf
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2,6 +2,7 @@
;;; Copyright © 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -138,6 +139,7 @@ (define pulseaudio
(arguments
`(#:configure-flags (list "--localstatedir=/var" ;"--sysconfdir=/etc"
"--disable-oss-output"
"--enable-bluez5"
(string-append "--with-udev-rules-dir="
(assoc-ref %outputs "out")
"/lib/udev/rules.d"))
@ -153,8 +155,9 @@ (define pulseaudio
%standard-phases)))
(inputs
;; TODO: Add optional inputs (GTK+?).
`(;; ("sbc" ,sbc)
("alsa-lib" ,alsa-lib)
`(("alsa-lib" ,alsa-lib)
("bluez" ,bluez)
("sbc" ,sbc)
("json-c" ,json-c)
("speex" ,speex)
("libsndfile" ,libsndfile)