From 631ac903b680838bfe93b2008b655991cf464568 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 1 Mar 2015 13:35:06 +0100 Subject: gnu: Add clalsadrv. * gnu/packages/audio.scm (clalsadrv): New variable. --- gnu/packages/audio.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index ac6bc25c28..05ad39459e 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -199,6 +199,51 @@ bass section with five drawbars. A standalone JACK application and LV2 plugins are provided.") (license license:gpl2))) +(define-public clalsadrv + (package + (name "clalsadrv") + (version "2.0.0") + (source (origin + (method url-fetch) + (uri (string-append + "http://kokkinizita.linuxaudio.org" + "/linuxaudio/downloads/clalsadrv-" + version ".tar.bz2")) + (sha256 + (base32 + "0bsacx3l9065gk8g4137qmz2ij7s9x06aldvacinzlcslw7bd1kq")) + (modules '((guix build utils))) + (snippet + '(substitute* "libs/Makefile" + (("/sbin/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-cons-after + 'install + 'install-symlink + (lambda _ + (symlink "libclalsadrv.so" + (string-append (assoc-ref %outputs "out") + "/lib/libclalsadrv.so.2"))) + ;; no configure script + (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 + "clalsadrv is a C++ wrapper around the ALSA API simplifying access to +ALSA PCM devices.") + (license license:gpl2+))) + (define-public freepats (package (name "freepats") -- cgit 1.4.1