1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Ricardo Wurmus <rekado@elephly.net>
3 ;;; Copyright © 2015 Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>
4 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
6 ;;; This file is part of GNU Guix.
8 ;;; GNU Guix is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
13 ;;; GNU Guix is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21 (define-module (gnu packages audio)
22 #:use-module (guix packages)
23 #:use-module (guix download)
24 #:use-module (guix git-download)
25 #:use-module (guix utils)
26 #:use-module ((guix licenses) #:prefix license:)
27 #:use-module (guix build-system gnu)
28 #:use-module (guix build-system waf)
29 #:use-module (guix build-system trivial)
30 #:use-module (guix build-system cmake)
31 #:use-module (gnu packages)
32 #:use-module (gnu packages algebra)
33 #:use-module (gnu packages autotools)
34 #:use-module (gnu packages avahi)
35 #:use-module (gnu packages boost)
36 #:use-module (gnu packages base)
37 #:use-module (gnu packages bison)
38 #:use-module (gnu packages compression)
39 #:use-module (gnu packages curl)
40 #:use-module (gnu packages databases)
41 #:use-module (gnu packages file)
42 #:use-module (gnu packages flex)
43 #:use-module (gnu packages gettext)
44 #:use-module (gnu packages glib)
45 #:use-module (gnu packages gtk)
46 #:use-module (gnu packages gnome)
47 #:use-module (gnu packages gperf)
48 #:use-module (gnu packages ncurses)
49 #:use-module (gnu packages qt)
50 #:use-module (gnu packages linux)
51 #:use-module (gnu packages mp3) ;taglib
52 #:use-module (gnu packages perl)
53 #:use-module (gnu packages pkg-config)
54 #:use-module (gnu packages pulseaudio) ;libsndfile, libsamplerate
55 #:use-module (gnu packages python)
56 #:use-module (gnu packages rdf)
57 #:use-module (gnu packages readline)
58 #:use-module (gnu packages xiph)
59 #:use-module (gnu packages xml)
60 #:use-module (gnu packages zip)
61 #:use-module (srfi srfi-1))
63 (define-public alsa-modular-synth
65 (name "alsa-modular-synth")
69 (uri (string-append "mirror://sourceforge/alsamodular/ams-"
73 "1nb7qzzqlqa2x8h797jbwi18ihnfkxqg9lyi0c4nvf8ybwzxkzd2"))))
74 (build-system gnu-build-system)
76 `(("alsa-lib" ,alsa-lib)
77 ;; We cannot use zita-alsa-pcmi (the successor of clalsadrv) due to
78 ;; license incompatibility.
79 ("clalsadrv" ,clalsadrv)
86 `(("pkg-config" ,pkg-config)))
87 (home-page "http://alsamodular.sourceforge.net/")
88 (synopsis "Realtime modular synthesizer and effect processor")
90 "AlsaModularSynth is a digital implementation of a classical analog
91 modular synthesizer system. It uses virtual control voltages to control the
92 parameters of the modules. The control voltages which control the frequency
93 e.g. of the VCO (Voltage Controlled Oscillator) and VCF (Voltage Controlled
94 Filter) modules follow the convention of 1V / Octave.")
95 (license license:gpl2)))
104 "http://aubio.org/pub/aubio-" version ".tar.bz2"))
107 "15f6nf76y7iyl2kl4ny7ky0zpxfxr8j3902afvd6ydnnkh5dzmr5"))))
108 (build-system waf-build-system)
110 `(#:tests? #f ; no check target
115 "--enable-samplerate"
116 ;; enable compilation with avcodec once available
121 ("libsndfile" ,libsndfile)
122 ("libsamplerate" ,libsamplerate)
125 `(("pkg-config" ,pkg-config)))
126 (home-page "http://aubio.org/")
127 (synopsis "A library for audio labelling")
129 "aubio is a tool designed for the extraction of annotations from audio
130 signals. Its features include segmenting a sound file before each of its
131 attacks, performing pitch detection, tapping the beat and producing MIDI
132 streams from live audio.")
133 (license license:gpl3+)))
135 (define (ardour-rpath-phase major-version)
136 `(lambda* (#:key outputs #:allow-other-keys)
137 (let ((libdir (string-append (assoc-ref outputs "out")
138 "/lib/ardour" ,major-version)))
139 (substitute* "wscript"
140 (("linker_flags = \\[\\]")
141 (string-append "linker_flags = [\""
144 libdir "/backends" ":"
145 libdir "/engines" ":"
146 libdir "/panners" ":"
147 libdir "/surfaces" ":"
148 libdir "/vamp" "\"]"))))
151 (define-public ardour-3
156 ;; The project only provides tarballs upon individual request
157 ;; (or after payment) so we take the code from git.
160 (url "git://git.ardour.org/ardour/ardour.git")
163 ;; Ardour expects this file to exist at build time. It can be
164 ;; created from a git checkout with:
165 ;; ./waf create_stored_revision
166 '(call-with-output-file
167 "libs/ardour/revision.cc"
169 (format port "#include \"ardour/revision.h\"
170 namespace ARDOUR { const char* revision = \"3.5-403-gec2cb31\" ; }"))))
173 "01b0wxh0wlxjfz5j8gcwwqhxc6q2kn4njz2fcmzv9fr3xaya5dbp"))
174 (file-name (string-append name "-" version))))
175 (build-system waf-build-system)
178 (modify-phases %standard-phases
180 'unpack 'set-rpath-in-LDFLAGS
181 ,(ardour-rpath-phase (version-prefix version 1))))
182 #:tests? #f ; no check target
185 `(("alsa-lib" ,alsa-lib)
193 ("libart-lgpl" ,libart-lgpl)
194 ("libgnomecanvasmm" ,libgnomecanvasmm)
197 ("libsndfile" ,libsndfile)
198 ("libsamplerate" ,libsamplerate)
201 ("libvorbis" ,libvorbis)
215 ("rubberband" ,rubberband)
217 ("python-rdflib" ,python-rdflib)))
220 ("pkg-config" ,pkg-config)))
221 (home-page "http://ardour.org")
222 (synopsis "Digital audio workstation")
224 "Ardour is a multi-channel digital audio workstation, allowing users to
225 record, edit, mix and master audio and MIDI projects. It is targeted at audio
226 engineers, musicians, soundtrack editors and composers.")
227 (license license:gpl2+)))
229 (define-public ardour
230 (package (inherit ardour-3)
232 ;; We pick the commit after 4.1 because it fixes a build problem.
233 (version "4.1-5aa834e")
237 (url "git://git.ardour.org/ardour/ardour.git")
238 (commit (cadr (string-split version #\-)))))
240 ;; Ardour expects this file to exist at build time. It can be
241 ;; created from a git checkout with:
242 ;; ./waf create_stored_revision
243 '(call-with-output-file
244 "libs/ardour/revision.cc"
246 (format port "#include \"ardour/revision.h\"
247 namespace ARDOUR { const char* revision = \"4.1\" ; }"))))
250 "0pfmxlscnwyqmgc89cdwrsk1769lr89dirfnpjbxj9zgcns6zqgb"))
251 (file-name (string-append name "-" version))))
253 (substitute-keyword-arguments (package-arguments ardour-3)
255 `(modify-phases ,phases
256 (replace 'set-rpath-in-LDFLAGS
257 ,(ardour-rpath-phase (version-prefix version 1)))))))))
265 (uri (string-append "mirror://savannah/ll-plugins/azr3-jack-"
270 "18mdw6nc0vgj6k9rsy0x8w64wvzld0frqshrxxbxfj9qi9843vlc"))))
271 (build-system gnu-build-system)
273 `(#:tests? #f ; no check target
276 (string-append "prefix=" %output)
277 (string-append "pkgdatadir=" %output "/share/azr3-jack"))))
284 `(("pkg-config" ,pkg-config)))
285 (home-page "http://ll-plugins.nongnu.org/azr3/")
286 (synopsis "Tonewheel organ synthesizer")
288 "AZR-3 is a port of the free VST plugin AZR-3. It is a tonewheel organ
289 with drawbars, distortion and rotating speakers. The organ has three
290 sections, two polyphonic sections with nine drawbars each and one monophonic
291 bass section with five drawbars. A standalone JACK application and LV2
292 plugins are provided.")
293 (license license:gpl2)))
302 "mirror://sourceforge/calf/calf/"
303 version "/calf-" version ".tar.gz"))
306 "019fwg00jv217a5r767z7szh7vdrarybac0pr2sk26xp81kibrx9"))))
307 (build-system gnu-build-system)
309 `(("fluidsynth" ,fluidsynth)
320 `(("pkg-config" ,pkg-config)))
322 (list (search-path-specification
323 (variable "LV2_PATH")
324 (files '("lib/lv2")))))
325 (home-page "http://calf.sourceforge.net/")
326 (synopsis "Audio plug-in pack for LV2 and JACK environments")
328 "Calf Studio Gear is an audio plug-in pack for LV2 and JACK environments.
329 The suite contains lots of effects (delay, modulation, signal processing,
330 filters, equalizers, dynamics, distortion and mastering effects),
331 instruments (SF2 player, organ simulator and a monophonic synthesizer) and
332 tools (analyzer, mono/stereo tools, crossovers).")
333 ;; calfjackhost is released under GPLv2+
334 ;; The plugins are released under LGPLv2.1+
335 (license (list license:lgpl2.1+ license:gpl2+))))
337 (define-public csound
344 "mirror://sourceforge/csound/csound6/Csound"
345 version "/Csound" version ".tar.gz"))
348 "1030w38lxdwjz1irr32m9cl0paqmgr02lab2m7f7j1yihwxj1w0g"))))
349 (build-system cmake-build-system)
351 `(("alsa-lib" ,alsa-lib)
353 ("pulseaudio" ,pulseaudio)
354 ("libsndfile" ,libsndfile)
358 ("gettext" ,gnu-gettext)))
363 (home-page "http://csound.github.io/")
364 (synopsis "Sound and music computing system")
366 "Csound is a user-programmable and user-extensible sound processing
367 language and software synthesizer.")
368 (license license:lgpl2.1+)))
370 (define-public clalsadrv
377 "http://kokkinizita.linuxaudio.org"
378 "/linuxaudio/downloads/clalsadrv-"
382 "0bsacx3l9065gk8g4137qmz2ij7s9x06aldvacinzlcslw7bd1kq"))))
383 (build-system gnu-build-system)
385 `(#:tests? #f ; no "check" target
386 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
389 'unpack 'patch-makefile-and-enter-directory
391 (substitute* "libs/Makefile"
392 (("/sbin/ldconfig") "true")
393 (("^LIBDIR =.*") "LIBDIR = lib\n"))
400 (symlink "libclalsadrv.so"
401 (string-append (assoc-ref %outputs "out")
402 "/lib/libclalsadrv.so.2")))
403 ;; no configure script
404 (alist-delete 'configure %standard-phases)))))
406 `(("alsa-lib" ,alsa-lib)
408 (home-page "http://kokkinizita.linuxaudio.org")
409 (synopsis "C++ wrapper around the ALSA API")
411 "clalsadrv is a C++ wrapper around the ALSA API simplifying access to
413 (license license:gpl2+)))
415 (define-public fluidsynth
422 "mirror://sourceforge/fluidsynth/fluidsynth-"
423 version "/fluidsynth-" version ".tar.gz"))
426 "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah"))))
427 (build-system gnu-build-system)
432 'remove-broken-symlinks
433 (lambda _ (delete-file-recursively "m4") #t)
436 `(("libsndfile" ,libsndfile)
437 ("alsa-lib" ,alsa-lib)
441 ("readline" ,readline)
444 `(("pkg-config" ,pkg-config)))
445 (home-page "http://www.fluidsynth.org/")
446 (synopsis "SoundFont synthesizer")
448 "FluidSynth is a real-time software synthesizer based on the SoundFont 2
449 specifications. FluidSynth reads and handles MIDI events from the MIDI input
450 device. It is the software analogue of a MIDI synthesizer. FluidSynth can
451 also play midifiles using a Soundfont.")
452 (license license:gpl2+)))
461 "mirror://sourceforge/faac/faad2-" version ".zip"))
464 "16f3l16c00sg0wkrkm3vzv0gy3g97x309vw788igs0cap2x1ak3z"))))
465 (build-system gnu-build-system)
467 `(("autoconf" ,autoconf)
468 ("automake" ,automake)
476 (substitute* "bootstrap" (("\r\n") "\n"))
477 (zero? (system* "sh" "bootstrap")))
479 (home-page "http://www.audiocoding.com/faad2.html")
480 (synopsis "MPEG-4 and MPEG-2 AAC decoder")
482 "FAAD2 is an MPEG-4 and MPEG-2 AAC decoder supporting LC, Main, LTP, SBR,
484 (license license:gpl2)))
493 "mirror://sourceforge/faudiostream/faust-" version ".zip"))
496 "068vl9536zn0j4pknwfcchzi90rx5pk64wbcbd67z32w0csx8xm1"))
498 ;; Remove prebuilt library
499 '(delete-file "architecture/android/libs/armeabi-v7a/libfaust_dsp.so"))))
500 (build-system gnu-build-system)
502 `(#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out")))
505 (modify-phases %standard-phases
506 ;; no "configure" script
507 (delete 'configure))))
510 (home-page "http://faust.grame.fr/")
511 (synopsis "Signal processing language")
513 "Faust is a programming language for realtime audio signal processing.")
514 (license license:gpl2+)))
516 (define-public freepats
522 (uri (string-append "http://freepats.zenvoid.org/freepats-"
526 "12iw36rd94zirll96cd5k0va7p5hxmf2shvjlhzihcmjaw8flq82"))))
527 (build-system trivial-build-system)
529 `(#:modules ((guix build utils))
531 (use-modules (guix build utils))
532 (let ((out (string-append %output "/share/freepats")))
533 (setenv "PATH" (string-append
534 (assoc-ref %build-inputs "bzip2") "/bin:"
535 (assoc-ref %build-inputs "tar") "/bin"))
536 (system* "tar" "xvf" (assoc-ref %build-inputs "source"))
538 ;; Use absolute pattern references
539 (substitute* "freepats.cfg"
540 (("Tone_000") (string-append out "/Tone_000"))
541 (("Drum_000") (string-append out "/Drum_000")))
543 (copy-recursively "." out)))))
547 (home-page "http://freepats.zenvoid.org")
548 (synopsis "GUS compatible patches for MIDI players")
550 "FreePats is a project to create a free and open set of GUS compatible
551 patches that can be used with softsynths such as Timidity and WildMidi.")
552 ;; GPLv2+ with exception for compositions using these patches.
553 (license license:gpl2+)))
555 (define-public guitarix
562 "mirror://sourceforge/guitarix/guitarix2-"
566 "1ybc5jk7fj6n8qh9ajzl1f6fzdmzab4nwjrh4fsylm94dn1jv0if"))))
567 (build-system waf-build-system)
569 `(#:tests? #f ; no "check" target
573 ;; FIXME: dsp2cc fails for src/faust/tonestack_engl.dsp, so we use the
574 ;; generated C++ files rather than compiling them from Faust sources.
576 ;; Add the output lib directory to the RUNPATH.
577 (string-append "--ldflags=-Wl,-rpath=" %output "/lib"))))
579 `(("libsndfile" ,libsndfile)
591 ("zita-resampler" ,zita-resampler)
592 ("zita-convolver" ,zita-convolver)))
595 ;;("faust" ,faust) ; dsp2cc fails for src/faust/tonestack_engl.dsp
596 ("intltool" ,intltool)
597 ("gettext" ,gnu-gettext)
598 ("pkg-config" ,pkg-config)))
600 (list (search-path-specification
601 (variable "LV2_PATH")
602 (files '("lib/lv2")))))
603 (home-page "http://guitarix.org/")
604 (synopsis "Virtual guitar amplifier")
605 (description "Guitarix is a virtual guitar amplifier running JACK.
606 Guitarix takes the signal from your guitar as a mono-signal from your sound
607 card. The input is processed by a main amp and a rack-section. Both can be
608 routed separately and deliver a processed stereo-signal via JACK. You may
609 fill the rack with effects from more than 25 built-in modules including stuff
610 from a simple noise gate to modulation effects like flanger, phaser or
612 (license license:gpl2+)))
621 "http://factorial.hu/system/files/ir.lv2-"
625 "1jh2z01l9m4ar7yz0n911df07dygc7n4cl59p7qdjbh0nvkm747g"))))
626 (build-system gnu-build-system)
628 `(#:tests? #f ;no "check" target
629 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
631 ;; no configure script
632 (alist-delete 'configure %standard-phases)))
634 `(("libsndfile" ,libsndfile)
635 ("libsamplerate" ,libsamplerate)
639 ("zita-convolver" ,zita-convolver)))
641 `(("pkg-config" ,pkg-config)))
643 (list (search-path-specification
644 (variable "LV2_PATH")
645 (files '("lib/lv2")))))
646 (home-page "http://factorial.hu/plugins/lv2/ir")
647 (synopsis "LV2 convolution reverb")
649 "IR is a low-latency, real-time, high performance signal convolver
650 especially for creating reverb effects. It supports impulse responses with 1,
651 2 or 4 channels, in any soundfile format supported by libsndfile.")
652 (license license:gpl2+)))
654 (define-public jack-1
661 "http://jackaudio.org/downloads/jack-audio-connection-kit-"
666 "1mk1wnx33anp6haxfjjkfhwbaknfblsvj35nxvz0hvspcmhdyhpb"))))
667 (build-system gnu-build-system)
669 `(("alsa-lib" ,alsa-lib)
671 ("readline" ,readline)))
672 ;; uuid.h is included in the JACK type headers
674 `(("libuuid" ,util-linux)))
676 `(("pkg-config" ,pkg-config)))
677 (home-page "http://jackaudio.org/")
678 (synopsis "JACK audio connection kit")
680 "JACK is a low-latency audio server. It can connect a number of
681 different applications to an audio device, as well as allowing them to share
682 audio between themselves. JACK is different from other audio server efforts
683 in that it has been designed from the ground up to be suitable for
684 professional audio work. This means that it focuses on two key areas:
685 synchronous execution of all clients, and low latency operation.")
686 ;; Most files are licensed under the GPL. However, the libjack/ tree is
687 ;; licensed under the LGPL in order to allow for proprietary usage.
688 (license (list license:gpl2+ license:lgpl2.1+))))
690 (define-public jack-2
691 (package (inherit jack-1)
697 "https://github.com/jackaudio/jack2/archive/v"
700 (file-name (string-append name "-" version ".tar.gz"))
703 "03b0iiyk3ng3vh5s8gaqwn565vik7910p56mlbk512bw3dhbdwc8"))))
704 (build-system waf-build-system)
706 `(#:tests? #f ; no check target
707 #:configure-flags '("--dbus"
710 (modify-phases %standard-phases
712 'configure 'set-linkflags
714 ;; Add $libdir to the RUNPATH of all the binaries.
715 (substitute* "wscript"
716 ((".*CFLAGS.*-Wall.*" m)
718 " conf.env.append_unique('LINKFLAGS',"
719 "'-Wl,-rpath=" %output "/lib')\n"))))))))
721 `(("alsa-lib" ,alsa-lib)
724 ("libsamplerate" ,libsamplerate)
726 ("readline" ,readline)))
728 `(("pkg-config" ,pkg-config)))
729 ;; Most files are under GPLv2+, but some headers are under LGPLv2.1+
730 (license (list license:gpl2+ license:lgpl2.1+))))
738 (uri (string-append "http://download.drobilla.net/jalv-"
742 "1f1hcq74n3ziw8bk97mn5a1vgw028dxikv3fchaxd430pbbhqgl9"))))
743 (build-system waf-build-system)
744 (arguments `(#:tests? #f)) ; no check target
754 `(("pkg-config" ,pkg-config)))
755 (home-page "http://drobilla.net/software/jalv/")
756 (synopsis "Simple LV2 host for JACK")
758 "Jalv is a simple but fully featured LV2 host for JACK. It runs LV2
759 plugins and exposes their ports as JACK ports, essentially making any LV2
760 plugin function as a JACK application.")
761 (license license:isc)))
763 (define-public ladspa
770 "http://www.ladspa.org/download/ladspa_sdk_"
775 "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm"))))
776 (build-system gnu-build-system)
778 `(#:tests? #f ; the "test" target is a listening test only
782 (lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
784 (let ((out (assoc-ref outputs "out")))
785 (substitute* "makefile"
786 (("/usr/lib/ladspa/") (string-append out "/lib/ladspa/"))
787 (("/usr/include/") (string-append out "/include/"))
788 (("/usr/bin/") (string-append out "/bin/"))
789 (("-mkdirhier") "mkdir -p")
790 (("^CC.*") "CC = gcc\n")
791 (("^CPP.*") "CPP = g++\n"))))
792 (alist-delete 'build %standard-phases))))
793 (home-page "http://ladspa.org")
794 (synopsis "Linux Audio Developer's Simple Plugin API (LADSPA)")
796 "LADSPA is a standard that allows software audio processors and effects
797 to be plugged into a wide range of audio synthesis and recording packages.")
798 (license license:lgpl2.1+)))
803 (version "0.6.0-rc2")
806 ;; The tilde is not permitted in the builder name, but is used
809 "mirror://savannah/lash/lash-"
810 (string-join (string-split version #\-) "~")
812 (file-name (string-append name "-" version ".tar.bz2"))
815 "12z1vx3krrzsfccpah9xjs68900xvr7bw92wx8np5871i2yv47iw"))))
816 (build-system gnu-build-system)
821 ("readline" ,readline)
822 ("python" ,python-2)))
823 ;; According to pkg-config, packages depending on lash also need to have
824 ;; at least the following packages declared as inputs.
826 `(("alsa-lib" ,alsa-lib)
828 ("libxml2" ,libxml2)))
830 `(("pkg-config" ,pkg-config)))
831 (home-page "http://www.nongnu.org/lash/")
832 (synopsis "Audio application session manager")
834 "LASH is a session management system for audio applications. It allows
835 you to save and restore audio sessions consisting of multiple interconneced
836 applications, restoring program state (i.e. loaded patches) and the
837 connections between them.")
838 (license license:gpl2+)))
840 (define-public libbs2b
847 "mirror://sourceforge/bs2b/libbs2b-" version ".tar.lzma"))
850 "1mcc4gjkmphczjybnsrip3gq1f974knzys7x49bv197xk3fn8wdr"))))
851 (build-system gnu-build-system)
852 (native-inputs `(("pkg-config" ,pkg-config)))
853 (inputs `(("libsndfile" ,libsndfile)))
854 (home-page "http://sourceforge.net/projects/bs2b/")
855 (synopsis "Bauer stereophonic-to-binaural DSP")
857 "The Bauer stereophonic-to-binaural DSP (bs2b) library and plugins is
858 designed to improve headphone listening of stereo audio records. Recommended
859 for headphone prolonged listening to disable superstereo fatigue without
860 essential distortions.")
861 (license license:expat)))
870 "mirror://sourceforge/liblo/liblo-"
875 "02drgnpirvl2ihvzgsmn02agr5sj3vipzzw9vma56qlkgfvak56s"))))
876 (build-system gnu-build-system)
878 `(;; liblo test FAILED
879 ;; liblo server error 19 in setsockopt(IP_ADD_MEMBERSHIP): No such device
881 (home-page "http://liblo.sourceforge.net")
882 (synopsis "Implementation of the Open Sound Control protocol")
884 "liblo is a lightweight library that provides an easy to use
885 implementation of the Open Sound Control (OSC) protocol.")
886 (license license:lgpl2.1+)))
894 (uri (string-append "http://download.drobilla.net/lilv-"
899 "0aj2plkx56iar8vzjbq2l7hi7sp0ml99m0h44rgwai2x4vqkk2j2"))))
900 (build-system waf-build-system)
902 `(#:tests? #f ; no check target
904 (modify-phases %standard-phases
906 'configure 'set-ldflags
907 (lambda* (#:key outputs #:allow-other-keys)
909 (string-append "-Wl,-rpath="
910 (assoc-ref outputs "out") "/lib")))))))
911 ;; required by lilv-0.pc
919 `(("pkg-config" ,pkg-config)))
920 (home-page "http://drobilla.net/software/lilv/")
921 (synopsis "Library to simplify use of LV2 plugins in applications")
923 "Lilv is a C library to make the use of LV2 plugins as simple as possible
924 for applications. Lilv is the successor to SLV2, rewritten to be
925 significantly faster and have minimal dependencies.")
926 (license license:isc)))
934 (uri (string-append "http://lv2plug.in/spec/lv2-"
939 "1saq0vwqy5zjdkgc5ahs8kcabxfmff2mmg68fiqrkv8hiw9m6jks"))))
940 (build-system waf-build-system)
942 `(#:tests? #f ; no check target
943 #:configure-flags '("--no-plugins")))
945 ;; Leaving off cairo and gtk+-2.0 which are needed for example plugins
946 `(("libsndfile" ,libsndfile)))
948 `(("pkg-config" ,pkg-config)))
949 (home-page "http://lv2plug.in/")
950 (synopsis "LV2 audio plugin specification")
952 "LV2 is an open specification for audio plugins and host applications.
953 At its core, LV2 is a simple stable interface, accompanied by extensions which
954 add functionality to support the needs of increasingly powerful audio
956 (license license:isc)))
958 (define-public lv2-mda-piano
960 (name "lv2-mda-piano")
965 (url "http://git.elephly.net/software/lv2-mdametapiano.git")
969 "07lywf6lpfpndg3i9w752mmlg2hgn1bwp23h8b0mdj6awh67abqd"))))
970 (build-system gnu-build-system)
974 (string-append "PREFIX=" (assoc-ref %outputs "out")))
975 #:tests? #f ; no check target
976 #:phases (alist-delete 'configure %standard-phases)))
981 `(("pkg-config" ,pkg-config)))
983 (list (search-path-specification
984 (variable "LV2_PATH")
985 (files '("lib/lv2")))))
986 (home-page "http://elephly.net/lv2/mdapiano.html")
987 (synopsis "LV2 port of the mda Piano plugin")
988 (description "An LV2 port of the mda Piano VSTi.")
989 (license license:gpl3+)))
991 (define-public lv2-mda-epiano
992 (package (inherit lv2-mda-piano)
993 (name "lv2-mda-epiano")
997 (string-append "PREFIX=" (assoc-ref %outputs "out")))
998 #:tests? #f ; no check target
999 #:phases (alist-delete 'configure %standard-phases)))
1000 (home-page "http://elephly.net/lv2/mdaepiano.html")
1001 (synopsis "LV2 port of the mda EPiano plugin")
1002 (description "An LV2 port of the mda EPiano VSTi.")))
1010 (uri (string-append "https://github.com/lvtk/lvtk/archive/"
1013 (file-name (string-append name "-" version ".tar.gz"))
1016 "03nbj2cqcklqwh50zj2gwm07crh5iwqbpxbpzwbg5hvgl4k4rnjd"))))
1017 (build-system waf-build-system)
1019 `(#:tests? #f ; no check target
1022 (list (string-append "--boost-includes="
1023 (assoc-ref %build-inputs "boost")
1029 `(("pkg-config" ,pkg-config)))
1030 (home-page "https://github.com/lvtk/lvtk")
1031 (synopsis "C++ libraries for LV2 plugins")
1033 "The LV2 Toolkit (LVTK) contains libraries that wrap the LV2 C API and
1034 extensions into easy to use C++ classes. It is the successor of
1036 (license license:gpl3+)))
1038 (define-public openal
1045 "http://kcat.strangesoft.net/openal-releases/openal-soft-"
1046 version ".tar.bz2"))
1049 "0mmhdqiyb3c9dzvxspm8h2v8jibhi8pfjxnf6m0wn744y1ia2a8f"))))
1050 (build-system cmake-build-system)
1052 `(#:tests? #f)) ; no check target
1054 `(("alsa-lib" ,alsa-lib)
1055 ("pulseaudio" ,pulseaudio)))
1056 (synopsis "3D audio API")
1058 "OpenAL provides capabilities for playing audio in a virtual 3D
1059 environment. Distance attenuation, doppler shift, and directional sound
1060 emitters are among the features handled by the API. More advanced effects,
1061 including air absorption, occlusion, and environmental reverb, are available
1062 through the EFX extension. It also facilitates streaming audio, multi-channel
1063 buffers, and audio capture.")
1064 (home-page "http://kcat.strangesoft.net/openal.html")
1065 (license license:lgpl2.0+)))
1067 (define-public patchage
1073 (uri (string-append "http://download.drobilla.net/patchage-"
1078 "1agdpwwi42176l4mxj0c4fsvdiv1ig56bfnnx0msckxmy57df8bb"))))
1079 (build-system waf-build-system)
1080 (arguments `(#:tests? #f)) ; no check target
1082 `(("alsa-lib" ,alsa-lib)
1088 ("dbus-glib" ,dbus-glib)))
1090 `(("pkg-config" ,pkg-config)))
1091 (home-page "http://drobilla.net/software/patchage/")
1092 (synopsis "Modular patch bay for audio and MIDI systems")
1094 "Patchage is a modular patch bay for audio and MIDI systems based on JACK
1096 (license license:gpl3+)))
1104 (uri (string-append "http://download.drobilla.net/raul-"
1105 version ".tar.bz2"))
1108 "09ms40xc1x6qli6lxkwn5ibqh62nl9w7dq0b6jh1q2zvnrxwsd8b"))))
1109 (build-system waf-build-system)
1111 `(#:python ,python-2
1112 #:tests? #f)) ; no check target
1117 `(("pkg-config" ,pkg-config)))
1118 (home-page "http://drobilla.net/software/raul/")
1119 (synopsis "Real-time audio utility library")
1121 "Raul (Real-time Audio Utility Library) is a C++ utility library primarily
1122 aimed at audio/musical applications.")
1123 (license license:gpl2+)))
1125 (define-public rubberband
1132 (string-append "https://bitbucket.org/breakfastquay/rubberband/get/v"
1137 "05amrbrxx0da3w7m237q51799r8xgs4ffqabi2qv06hq8dpcj386"))))
1138 (build-system gnu-build-system)
1139 (arguments `(#:tests? #f)) ; no check target
1141 `(("ladspa" ,ladspa)
1142 ("libsamplerate" ,libsamplerate)
1145 `(("pkg-config" ,pkg-config)))
1146 (home-page "http://breakfastquay.com/rubberband/")
1147 (synopsis "Audio time-stretching and pitch-shifting library")
1149 "Rubber Band is a library and utility program that permits changing the
1150 tempo and pitch of an audio recording independently of one another.")
1151 (license license:gpl2+)))
1153 (define-public rtmidi
1160 (string-append "https://github.com/powertab/rtmidi/archive/"
1162 (file-name (string-append name "-" version ".tar.gz"))
1165 "0d49lapnmdgmjxh4vw57h6xk74nn5r0zwysv7jbd7m8kqhpq5rjj"))))
1166 (build-system gnu-build-system)
1168 `(#:tests? #f ;no "check" target
1169 #:phases (modify-phases %standard-phases
1171 'configure 'autoconf
1172 (lambda _ (zero? (system* "autoreconf" "-vfi"))))
1174 'build 'fix-makefile
1176 (substitute* "Makefile"
1178 (("RtMidi.h RtError.h") "RtMidi.h"))
1181 'install 'make-target-dirs
1183 (let ((out (assoc-ref %outputs "out")))
1184 (mkdir-p (string-append out "/bin"))
1185 (mkdir (string-append out "/lib"))
1186 (mkdir (string-append out "/include")))
1190 ("alsa-lib" ,alsa-lib)))
1192 `(("autoconf" ,autoconf)
1193 ("automake" ,automake)
1194 ("libtool" ,libtool)
1195 ("pkg-config" ,pkg-config)))
1196 (home-page "https://github.com/powertab/rtmidi")
1197 (synopsis "Cross-platform MIDI library for C++")
1199 "RtMidi is a set of C++ classes (RtMidiIn, RtMidiOut, and API specific
1200 classes) that provide a common cross-platform API for realtime MIDI
1202 (license license:expat)))
1204 (define-public sratom
1210 (uri (string-append "http://download.drobilla.net/sratom-"
1215 "080jjiyxjnj7hf25844hd9rb01grvzz1rk8mxcdnakywmspbxfd4"))))
1216 (build-system waf-build-system)
1217 (arguments `(#:tests? #f)) ; no check target
1223 `(("pkg-config" ,pkg-config)))
1224 (home-page "http://drobilla.net/software/sratom/")
1225 (synopsis "Library for serialising LV2 atoms to/from RDF")
1227 "Sratom is a library for serialising LV2 atoms to/from RDF, particularly
1228 the Turtle syntax.")
1229 (license license:isc)))
1237 (uri (string-append "http://download.drobilla.net/suil-"
1242 "1s3adyiw7sa5gfvm5wasa61qa23629kprxyv6w8hbxdiwp0hhxkq"))))
1243 (build-system waf-build-system)
1244 (arguments `(#:tests? #f)) ; no check target
1250 `(("pkg-config" ,pkg-config)))
1251 (home-page "http://drobilla.net/software/suil/")
1252 (synopsis "Library for loading and wrapping LV2 plugin UIs")
1254 "Suil is a lightweight C library for loading and wrapping LV2 plugin UIs.
1256 Suil makes it possible to load a UI of a toolkit in a host using another
1257 toolkit. The API is designed such that hosts do not need to explicitly
1258 support specific toolkits – if Suil supports a particular toolkit, then UIs in
1259 that toolkit will work in all hosts that use Suil automatically.
1261 Suil currently supports every combination of Gtk 2, Qt 4, and X11.")
1262 (license license:isc)))
1264 (define-public timidity++
1271 "mirror://sourceforge/timidity/TiMidity++-"
1272 version ".tar.bz2"))
1275 "0xk41w4qbk23z1fvqdyfblbz10mmxsllw0svxzjw5sa9y11vczzr"))))
1276 (build-system gnu-build-system)
1279 (list "--enable-audio=alsa,flac,jack,ao,vorbis,speex"
1283 (string-append "--with-default-path="
1284 (assoc-ref %outputs "out") "/etc/timidity"))
1287 'install 'install-config
1289 (let ((out (string-append (assoc-ref %outputs "out")
1292 (call-with-output-file
1293 (string-append out "/timidity.cfg")
1295 (format port (string-append "source "
1296 (assoc-ref %build-inputs "freepats")
1297 "/share/freepats/freepats.cfg"))))))
1300 `(("alsa-lib" ,alsa-lib)
1306 ("ncurses" ,ncurses)
1307 ("freepats" ,freepats)))
1309 `(("pkg-config" ,pkg-config)))
1310 (home-page "http://timidity.sourceforge.net/")
1311 (synopsis "Software synthesizer for playing MIDI files")
1313 "TiMidity++ is a software synthesizer. It can play MIDI files by
1314 converting them into PCM waveform data; give it a MIDI data along with digital
1315 instrument data files, then it synthesizes them in real-time, and plays. It
1316 can not only play sounds, but also can save the generated waveforms into hard
1317 disks as various audio file formats.")
1318 (license license:gpl2+)))
1327 "https://code.soundsoftware.ac.uk"
1328 "/attachments/download/1514/vamp-plugin-sdk-"
1332 "1s986w0mfh1m0870qd7i50hdzayls8kc3shfqf9651jzwdk34lxa"))))
1333 (build-system gnu-build-system)
1335 `(#:tests? #f ; no check target
1338 'install 'remove-libvamp-hostsdk.la
1339 (lambda* (#:key outputs #:allow-other-keys)
1340 ;; https://bugs.launchpad.net/ubuntu/+source/vamp-plugin-sdk/+bug/1253656
1341 (for-each delete-file
1342 (let ((out (assoc-ref outputs "out")))
1343 (list (string-append out "/lib/libvamp-sdk.la")
1344 (string-append out "/lib/libvamp-hostsdk.la"))))
1348 `(("libsndfile" ,libsndfile)))
1350 `(("pkg-config" ,pkg-config)))
1351 (home-page "http://vamp-plugins.org")
1352 (synopsis "Modular and extensible audio processing system")
1354 "Vamp is an audio processing plugin system for plugins that extract
1355 descriptive information from audio data — typically referred to as audio
1356 analysis plugins or audio feature extraction plugins.")
1359 "https://code.soundsoftware.ac.uk/projects/vamp-plugin-sdk/repository/entry/COPYING"))))
1361 (define-public libsbsms
1368 (uri (string-append "mirror://sourceforge/sbsms/sbsms/" version
1369 "/libsbsms-" version ".tar.gz"))
1371 (base32 "1vmf84iy4dkwxv887grnlsfk43fmhd9gbg26gc2kgcv40sbkvayf"))))
1372 (build-system gnu-build-system)
1373 (native-inputs `(("automake" ,automake)))
1377 'unpack 'fix-ar-lib-path
1378 (lambda* (#:key inputs #:allow-other-keys)
1379 ;; Originally a symlink to '/usr/local/share/automake-1.12/ar-lib'.
1380 (delete-file "ar-lib")
1382 (string-append (assoc-ref inputs "automake") "/share/automake-"
1383 ,(package-version automake) "/ar-lib")
1386 (home-page "http://sbsms.sourceforge.net/")
1387 (synopsis "Library for time stretching and pitch scaling of audio")
1389 "SBSMS (Subband Sinusoidal Modeling Synthesis) is software for time
1390 stretching and pitch scaling of audio. This package contains the library.")
1391 ;; There is no explicit declaration of a license, but a COPYING file
1393 (license license:gpl2)))
1395 (define-public wavpack
1401 (uri (string-append "http://www.wavpack.com/"
1402 name "-" version ".tar.bz2"))
1405 "191h8hv8qk72hfh1crg429i9yq3cminwqb249sy9zadbn1wy7b9c"))))
1406 (build-system gnu-build-system)
1409 ;; wavpack.pc.in lacks path substitution for 'exec_prefix'.
1410 (list (string-append "--libdir=" %output "/lib"))))
1411 (home-page "http://www.wavpack.com/")
1412 (synopsis "Hybrid lossless audio codec")
1414 "WavPack is an audio compression format with lossless, lossy and hybrid
1415 compression modes. This package contains command-line programs and library to
1416 encode and decode wavpack files.")
1417 (license license:bsd-3)))
1419 (define-public libmodplug
1426 "mirror://sourceforge/project/modplug-xmms/"
1427 name "/" version "/" name "-" version ".tar.gz"))
1430 "1bfsladg7h6vnii47dd66f5vh1ir7qv12mfb8n36qiwrxq92sikp"))))
1431 (build-system gnu-build-system)
1432 (home-page "http://modplug-xmms.sourceforge.net/")
1433 (synopsis "Mod file playing library")
1435 "Libmodplug renders mod music files as raw audio data, for playing or
1436 conversion. mod, .s3m, .it, .xm, and a number of lesser-known formats are
1437 supported. Optional features include high-quality resampling, bass expansion,
1438 surround and reverb.")
1439 (license license:public-domain)))
1441 (define-public libxmp
1447 (uri (string-append "mirror://sourceforge/xmp/libxmp/"
1448 name "-" version ".tar.gz"))
1451 "0h06091hlpgc6ds4pjmfq8sx4snw7av3nhny180q4pwfyasjb6ny"))))
1452 (build-system gnu-build-system)
1453 (home-page "http://xmp.sourceforge.net/")
1454 (synopsis "Module player library")
1456 "Libxmp is a library that renders module files to PCM data. It supports
1457 over 90 mainstream and obscure module formats including Protracker (MOD),
1458 Scream Tracker 3 (S3M), Fast Tracker II (XM), and Impulse Tracker (IT).")
1459 (license license:lgpl2.1+)))
1467 (uri (string-append "mirror://sourceforge/xmp/xmp/"
1468 name "-" version ".tar.gz"))
1471 "0gjylvvmq7ha0nhcjg56qfp0xxpsrcsj7y5r914svd5x1ppmzm5n"))))
1472 (build-system gnu-build-system)
1474 `(("pkg-config" ,pkg-config)))
1476 `(("libxmp" ,libxmp)
1477 ("pulseaudio" ,pulseaudio)))
1478 (home-page "http://xmp.sourceforge.net/")
1479 (synopsis "Extended module player")
1481 "Xmp is a portable module player that plays over 90 mainstream and
1482 obscure module formats, including Protracker MOD, Fasttracker II XM, Scream
1483 Tracker 3 S3M and Impulse Tracker IT files.")
1484 (license license:gpl2+)))
1486 (define-public soundtouch
1495 "http://www.surina.net/soundtouch/soundtouch-" version ".tar.gz"))
1497 (base32 "0sqn3wk4qz20vf0vz853l6dl1gnj1yhqxfwxqsc5lp529kbn2h9x"))))
1498 (build-system gnu-build-system)
1500 `(("autoconf" ,autoconf)
1501 ("automake" ,automake)
1502 ("libtool" ,libtool)
1509 (zero? (system* "sh" "bootstrap")))
1511 (home-page "http://www.surina.net/soundtouch/")
1513 "Audio processing library for changing tempo, pitch and playback rate")
1515 "SoundTouch is an audio processing library for changing the tempo, pitch
1516 and playback rates of audio streams or audio files. It is intended for
1517 application developers writing sound processing tools that require tempo/pitch
1518 control functionality, or just for playing around with the sound effects.")
1519 (license license:lgpl2.1+)))
1529 (string-append "mirror://sourceforge/soxr/soxr-" version
1532 (base32 "1hmadwqfpg15vhwq9pa1sl5xslibrjpk6hpq2s9hfmx1s5l6ihfw"))))
1533 (build-system cmake-build-system)
1534 (arguments '(#:tests? #f)) ;no 'check' target
1535 (home-page "http://sourceforge.net/p/soxr/wiki/Home/")
1536 (synopsis "One-dimensional sample-rate conversion library")
1538 "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate
1539 conversion. It may be used, for example, to resample PCM-encoded audio.")
1540 (license license:lgpl2.1+)))
1542 (define-public twolame
1550 "mirror://sourceforge/twolame/twolame-" version ".tar.gz"))
1552 (base32 "0ahiqqng5pidwhj1wzph4vxxgxxgcfa3gl0gywipzx2ii7s35wwq"))))
1553 (build-system gnu-build-system)
1555 `(("libsndfile" ,libsndfile)))
1558 ("which" ,which))) ;used in tests/test.pl
1559 (home-page "http://www.twolame.org/")
1560 (synopsis "MPEG Audio Layer 2 (MP2) encoder")
1562 "TwoLAME is an optimised MPEG Audio Layer 2 (MP2) encoder based on
1563 tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code and
1565 (license license:lgpl2.1+)))
1567 (define-public portaudio
1570 (version "19.20140130")
1575 "http://www.portaudio.com/archives/pa_stable_v"
1576 (string-map (lambda (c) (if (char=? c #\.) #\_ c)) version)
1579 (base32 "0mwddk4qzybaf85wqfhxqlf0c5im9il8z03rd4n127k8y2jj9q4g"))
1580 (patches (list (search-patch "portaudio-audacity-compat.patch")))))
1581 (build-system gnu-build-system)
1583 ;; TODO: Add ASIHPI.
1584 `(("alsa-lib" ,alsa-lib)
1587 `(("autoconf" ,autoconf)
1588 ("automake" ,automake)
1589 ("libtool" ,libtool)
1590 ("pkg-config" ,pkg-config)))
1593 ;; Autoreconf is necessary because the audacity-compat patch modifies
1598 (zero? (system* "autoreconf" "-vif")))
1600 #:tests? #f)) ;no 'check' target
1601 (home-page "http://www.portaudio.com/")
1602 (synopsis "Audio I/O library")
1604 "PortAudio is a portable C/C++ audio I/O library providing a simple API
1605 to record and/or play sound using a callback function or a blocking read/write
1607 (license license:expat)))
1609 (define-public qsynth
1617 "mirror://sourceforge/qsynth/qsynth-" version ".tar.gz"))
1619 (base32 "08kyn6cl755l9i1grzjx8yi3f8mgiz4gx0hgqad1n0d8yz85087b"))))
1620 (build-system gnu-build-system)
1622 `(#:tests? #f)) ; no "check" phase
1625 ("fluidsynth" ,fluidsynth)))
1626 (home-page "http://qsynth.sourceforge.net")
1627 (synopsis "Graphical user interface for FluidSynth")
1629 "Qsynth is a GUI front-end application for the FluidSynth SoundFont
1630 synthesizer written in C++.")
1631 (license license:gpl2+)))
1633 (define-public rsound
1640 (uri (string-append "https://github.com/Themaister/RSound/archive/v"
1643 (base32 "1wzs40c0k5zpkmm5ffl6c17xmr399sxli7ys0fbb9ib0fd334knx"))))
1644 (build-system gnu-build-system)
1646 `(("alsa-lib" ,alsa-lib)
1649 ("libsamplerate" ,libsamplerate)
1651 ("portaudio" ,portaudio)
1652 ("pulseaudio" ,pulseaudio)))
1657 (lambda* (#:key outputs #:allow-other-keys)
1660 (system* "./configure"
1661 (string-append "--prefix=" (assoc-ref outputs "out")))))
1663 ;; No 'check' target.
1665 (home-page "http://themaister.net/rsound.html")
1666 (synopsis "Networked audio system")
1668 "RSound allows you to send audio from an application and transfer it
1669 directly to a different computer on your LAN network. It is an audio daemon
1670 with a much different focus than most other audio daemons.")
1671 (license license:gpl3+)))
1673 (define-public zita-convolver
1675 (name "zita-convolver")
1680 "http://kokkinizita.linuxaudio.org"
1681 "/linuxaudio/downloads/zita-convolver-"
1682 version ".tar.bz2"))
1685 "14qrnczhp5mbwhky64il7kxc4hl1mmh495v60va7i2qnhasr6zmz"))))
1686 (build-system gnu-build-system)
1688 `(#:tests? #f ; no "check" target
1689 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1692 'unpack 'patch-makefile-and-enter-directory
1694 (substitute* "libs/Makefile"
1695 (("ldconfig") "true")
1696 (("^LIBDIR =.*") "LIBDIR = lib\n"))
1702 (symlink "libzita-convolver.so"
1703 (string-append (assoc-ref %outputs "out")
1704 "/lib/libzita-convolver.so.3")))
1705 ;; no configure script
1706 (alist-delete 'configure %standard-phases)))))
1707 (inputs `(("fftwf" ,fftwf)))
1708 (home-page "http://kokkinizita.linuxaudio.org")
1709 (synopsis "Fast, partitioned convolution engine library")
1711 "Zita convolver is a C++ library providing a real-time convolution
1713 (license license:gpl3+)))
1715 (define-public zita-resampler
1717 (name "zita-resampler")
1722 "http://kokkinizita.linuxaudio.org"
1723 "/linuxaudio/downloads/zita-resampler-"
1724 version ".tar.bz2"))
1727 "0r9ary5sc3y8vba5pad581ha7mgsrlyai83w7w4x2fmhfy64q0wq"))))
1728 (build-system gnu-build-system)
1730 `(#:tests? #f ; no "check" target
1731 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1733 (modify-phases %standard-phases
1735 'unpack 'patch-makefile-and-enter-directory
1737 (substitute* "libs/Makefile"
1738 (("ldconfig") "true")
1739 (("^LIBDIR =.*") "LIBDIR = lib\n"))
1743 'install 'install-symlink
1745 (symlink "libzita-resampler.so"
1746 (string-append (assoc-ref %outputs "out")
1747 "/lib/libzita-resampler.so.1"))))
1748 ;; no configure script
1749 (delete 'configure))))
1750 (home-page "http://kokkinizita.linuxaudio.org/linuxaudio/zita-resampler/resampler.html")
1751 (synopsis "C++ library for resampling audio signals")
1753 "Libzita-resampler is a C++ library for resampling audio signals. It is
1754 designed to be used within a real-time processing context, to be fast, and to
1755 provide high-quality sample rate conversion.")
1756 (license license:gpl3+)))
1758 (define-public zita-alsa-pcmi
1760 (name "zita-alsa-pcmi")
1765 "http://kokkinizita.linuxaudio.org"
1766 "/linuxaudio/downloads/zita-alsa-pcmi-"
1767 version ".tar.bz2"))
1770 "1rgv332g82rrrlm4vdam6p2pyrisxbi7b3izfaa0pcjglafsy7j9"))))
1771 (build-system gnu-build-system)
1773 `(#:tests? #f ; no "check" target
1774 #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
1777 'unpack 'patch-makefile-and-enter-directory
1779 (substitute* "libs/Makefile"
1780 (("ldconfig") "true")
1781 (("^LIBDIR =.*") "LIBDIR = lib\n"))
1788 (symlink "libzita-alsa-pcmi.so"
1789 (string-append (assoc-ref %outputs "out")
1790 "/lib/libzita-alsa-pcmi.so.0")))
1791 ;; no configure script
1792 (alist-delete 'configure %standard-phases)))))
1794 `(("alsa-lib" ,alsa-lib)
1796 (home-page "http://kokkinizita.linuxaudio.org")
1797 (synopsis "C++ wrapper around the ALSA API")
1799 "Zita-alsa-pcmi is a C++ wrapper around the ALSA API. It provides easy
1800 access to ALSA PCM devices, taking care of the many functions required to
1801 open, initialise and use a hw: device in mmap mode, and providing floating
1803 (license license:gpl3+)))