Subject: [bug#32152] [PATCH] gnu: pulseaudio: Add jack input.

From: Pierre Langlois <[email-masked]>
Date: Sat, 14 Jul 2018 11:32:02 +0100

Hello Guix!

Here's a patch that adds jack as an input to pulseaudio. It allows
building the jack modules to route pulseaudio to jack.

Since a lot of things depend on pulseaudio, would this typically go to a
staging branch?

Thanks a lot,
Pierre

>From c0da661aa510a4b727e629627e6a441edf598cbd Mon Sep 17 00:00:00 2001
From: Pierre Langlois <[email-masked]>
Date: Sun, 24 Jun 2018 12:13:56 +0100
Subject: [PATCH] gnu: pulseaudio: Add jack input.

Depending on jack allows building the jack-sink and jack-source modules for
routing the audio through the jack server.

* gnu/packages/pulseaudio.scm (pulseaudio)[inputs]: Add jack-1.
---
 gnu/packages/pulseaudio.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index bac92eafa..dfb33a4fd 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2017 Leo Famulari <[email-masked]>
 ;;; Copyright © 2017 Stefan Reichör <[email-masked]>
 ;;; Copyright © 2017 Tobias Geerinckx-Rice <[email-masked]>
+;;; Copyright © 2018 Pierre Langlois <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -31,6 +32,7 @@
   #:use-module (guix build-system python)
   #:use-module (gnu packages)
   #:use-module (gnu packages algebra)
+  #:use-module (gnu packages audio)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages avahi)
   #:use-module (gnu packages check)
@@ -177,6 +179,7 @@ rates.")
        ("speex" ,speex)
        ("libsndfile" ,libsndfile)
        ("libsamplerate" ,libsamplerate)
+       ("jack" ,jack-1) ; For routing the output to jack.
        ("dbus" ,dbus)
        ("glib" ,glib)
        ("intltool" ,intltool)
-- 
2.18.0