From bea98f9a0b40f4b86103e195bf2fcd4efbdb8c84 Mon Sep 17 00:00:00 2001 From: Alexandros Theodotou Date: Tue, 15 Sep 2020 10:17:15 +0100 Subject: [PATCH] gnu: Add libsoundio. * gnu/packages/audio.scm (libsoundio): New variable. Signed-off-by: Mathieu Othacehe --- gnu/packages/audio.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) 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 @@ (define-public ttaenc (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")