aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/audio.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-02-25 13:53:25 +0100
committerMarius Bakke <mbakke@fastmail.com>2019-02-28 19:08:48 +0100
commita4b71b32a7f56148364c7a25a7d58dca6004f46b (patch)
tree9f7ba107b46f85224c7948d79ec40c62d9edf1aa /gnu/packages/audio.scm
parent5d04ce48d1bfee33e742f0f33031e5318925a833 (diff)
downloadguix-a4b71b32a7f56148364c7a25a7d58dca6004f46b.tar
guix-a4b71b32a7f56148364c7a25a7d58dca6004f46b.tar.gz
gnu: Add pcaudiolib.
* gnu/packages/audio.scm (pcaudiolib): New public variable.
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r--gnu/packages/audio.scm35
1 files changed, 34 insertions, 1 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 4dbd6bac79..17feeafff2 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -14,7 +14,7 @@
;;; Copyright © 2018 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2018 Clément Lassieur <clement@lassieur.org>
;;; Copyright © 2018 Brett Gilio <brettg@posteo.net>
-;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2018 Thorsten Wilms <t_w_@freenet.de>
;;; Copyright © 2018 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2018 Brendan Tildesley <brendan.tildesley@openmailbox.org>
@@ -2135,6 +2135,39 @@ buffers, and audio capture.")
and ALSA.")
(license license:gpl3+)))
+(define-public pcaudiolib
+ (package
+ (name "pcaudiolib")
+ (version "1.1")
+ (home-page "https://github.com/espeak-ng/pcaudiolib")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0c55hlqqh0m7bcb3nlgv1s4a22s5bgczr1cakjh3767rjb10khi0"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags '("--disable-static")))
+ (native-inputs
+ `(("autoconf" ,autoconf)
+ ("automake" ,automake)
+ ("libtool" ,libtool)
+ ("pkg-config" ,pkg-config)
+ ("which" ,which)))
+ (inputs
+ `(("alsa-lib" ,alsa-lib)
+ ("pulseaudio" ,pulseaudio)))
+ (synopsis "Portable C audio library")
+ (description
+ "The Portable C Audio Library (pcaudiolib) provides a C@tie{}API to
+different audio devices such as ALSA or PulseAudio.")
+ (license (list license:gpl3+
+ ;; The bundled TPCircularBuffer uses a custom license.
+ (license:non-copyleft
+ "file://src/TPCircularBuffer/README.markdown")))))
+
(define-public qjackctl
(package
(name "qjackctl")