unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: Add zita-alsa-pcmi.
@ 2015-02-21 20:54 Ricardo Wurmus
  2015-02-21 20:54 ` [PATCH 2/2] gnu: Add AlsaModularSynth Ricardo Wurmus
  0 siblings, 1 reply; 19+ messages in thread
From: Ricardo Wurmus @ 2015-02-21 20:54 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/audio.scm (zita-alsa-pcmi): New variable.
---
 gnu/packages/audio.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 7d7a248..ea497de 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -771,3 +771,42 @@ analysis plugins or audio feature extraction plugins.")
     (license
      (license:x11-style
       "https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk/repository/entry/COPYING"))))
+
+(define-public zita-alsa-pcmi
+  (package
+    (name "zita-alsa-pcmi")
+    (version "0.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://kokkinizita.linuxaudio.org"
+                    "/linuxaudio/downloads/zita-alsa-pcmi-"
+                    version ".tar.bz2"))
+              (sha256
+               (base32
+                "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))
+              (modules '((guix build utils)))
+              (snippet
+               '(substitute* "libs/Makefile"
+                  (("ldconfig") "true")))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:tests? #f ; no "check" target
+       #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
+       #:phases
+       (alist-cons-after
+        'unpack
+        'enter-directory
+        (lambda _ (chdir "libs"))
+        (alist-delete 'configure %standard-phases))))
+    (inputs
+     `(("alsa-lib" ,alsa-lib)
+       ("fftw" ,fftw)))
+    (home-page "http://kokkinizita.linuxaudio.org")
+    (synopsis "C++ wrapper around the ALSA API")
+    (description
+     "Zita-alsa-pcmi is a C++ wrapper around the ALSA API.  It provides easy
+access to ALSA PCM devices, taking care of the many functions required to
+open, initialise and use a hw: device in mmap mode, and providing floating
+point audio data.")
+    (license license:gpl3)))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-03-10 16:23 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-21 20:54 [PATCH 1/2] gnu: Add zita-alsa-pcmi Ricardo Wurmus
2015-02-21 20:54 ` [PATCH 2/2] gnu: Add AlsaModularSynth Ricardo Wurmus
2015-02-21 21:09   ` Ricardo Wurmus
2015-02-22 20:54     ` Ricardo Wurmus
2015-02-25 14:00       ` Ludovic Courtès
2015-02-25 22:03         ` Ricardo Wurmus
2015-02-26 17:08           ` Ludovic Courtès
2015-03-01 13:49             ` Ricardo Wurmus
2015-03-01 14:59               ` Ludovic Courtès
2015-03-02  6:14               ` Mark H Weaver
2015-03-04  7:08                 ` Ricardo Wurmus
2015-03-04  7:14                   ` Ricardo Wurmus
2015-03-04 11:09                     ` Ricardo Wurmus
2015-03-05 18:38                       ` RFC: Build system hacks for Guix do not belong in 'source' Mark H Weaver
2015-03-05 19:30                         ` Thompson, David
2015-03-05 22:05                         ` Ludovic Courtès
2015-03-05 23:10                           ` Ricardo Wurmus
2015-03-10  8:31                         ` Ricardo Wurmus
2015-03-10 16:23                           ` Mark H Weaver

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).