Re: [PATCH] gnu: pulseaudio: Enable support for Bluetooth.

2016-06-27 Thread Ricardo Wurmus

Ludovic Courtès  writes:

> Ricardo Wurmus  skribis:
>
>> * gnu/packages/pulseaudio.scm (pulseaudio)[arguments]: Add
>> "--enable-bluez5" to configure flags.
>> [inputs]: Add "bluez" and "sbc".
>
> I think it’s a reasonable change.
>
> Ideally a ‘pulseaudio-updates’ branch would be the right thing.
> However, if it builds and works as expected on master (at least make
> sure ‘guix gc --references’ shows bluez and SBC), then it’s OK to commit
> to ‘core-updates’ since it looks like a non-disruptive change.

I’ve just pushed it to core-updates.  Thanks!

~~ Ricardo




Re: [PATCH] gnu: pulseaudio: Enable support for Bluetooth.

2016-05-16 Thread Ludovic Courtès
Ricardo Wurmus  skribis:

> * gnu/packages/pulseaudio.scm (pulseaudio)[arguments]: Add
> "--enable-bluez5" to configure flags.
> [inputs]: Add "bluez" and "sbc".

I think it’s a reasonable change.

Ideally a ‘pulseaudio-updates’ branch would be the right thing.
However, if it builds and works as expected on master (at least make
sure ‘guix gc --references’ shows bluez and SBC), then it’s OK to commit
to ‘core-updates’ since it looks like a non-disruptive change.

Thanks!

Ludo’.



[PATCH] gnu: pulseaudio: Enable support for Bluetooth.

2016-05-14 Thread Ricardo Wurmus
* gnu/packages/pulseaudio.scm (pulseaudio)[arguments]: Add
"--enable-bluez5" to configure flags.
[inputs]: Add "bluez" and "sbc".
---
 gnu/packages/pulseaudio.scm | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index b2b0508..2d97539 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2013, 2014, 2015 Ludovic Courtès 
 ;;; Copyright © 2014, 2015, 2016 Mark H Weaver 
 ;;; Copyright © 2016 Efraim Flashner 
+;;; Copyright © 2016 Ricardo Wurmus 
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -138,6 +139,7 @@ rates.")
 (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 @@ rates.")
  %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)
-- 
2.7.3