summary refs log tree commit diff
path: root/gnu/packages/audio.scm
diff options
context:
space:
mode:
authorAlexandros Theodotou <alex@zrythm.org>2020-09-15 10:17:15 +0100
committerMathieu Othacehe <othacehe@gnu.org>2020-09-18 14:52:45 +0200
commitbea98f9a0b40f4b86103e195bf2fcd4efbdb8c84 (patch)
tree06cf03c39985a8d9e977a70acf39911a2b0b40e2 /gnu/packages/audio.scm
parentade7638d84779b58d5a4c961666bcb35ebf43394 (diff)
downloadguix-bea98f9a0b40f4b86103e195bf2fcd4efbdb8c84.tar.gz
gnu: Add libsoundio.
* gnu/packages/audio.scm (libsoundio): New variable.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r--gnu/packages/audio.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index fb98777290..ea6c982075 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -4468,6 +4468,36 @@ supports both of ID3v1/v2 and APEv2 tags.")
     (home-page "http://tausoft.org/")
     (license license:gpl2+)))
 
+(define-public libsoundio
+  (package
+   (name "libsoundio")
+   (version "2.0.0")
+   (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/andrewrk/libsoundio")
+              (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+         (base32
+           "12l4rvaypv87vigdrmjz48d4d6sq4gfxf5asvnc4adyabxb73i4x"))))
+   (build-system cmake-build-system)
+   (arguments
+    `(#:tests? #f)) ; no tests included
+   (inputs
+    `(("alsa-lib" ,alsa-lib)
+      ("jack" ,jack-1)
+      ("pulseaudio" ,pulseaudio)))
+   (native-inputs
+    `(("pkg-config" ,pkg-config)))
+   (home-page "http://libsound.io")
+   (synopsis "C library for real-time audio input and output")
+   (description "libsoundio is a C library providing audio input and output.
+The API is suitable for real-time software such as digital audio workstations
+as well as consumer software such as music players.")
+   (license license:expat)))
+
 (define-public redkite
   (package
     (name "redkite")