zynaddsubfx: fix build, tidy up, add JACK support

This commit is contained in:
Cillian de Róiste 2014-01-19 13:01:49 +01:00
parent 78c4b0868e
commit b3a116c762

View File

@ -1,4 +1,6 @@
{ stdenv, fetchurl, alsaLib, cmake, fftw, fltk13, minixml, pkgconfig, zlib }:
{ stdenv, fetchurl, alsaLib, cmake, jackaudio, fftw, fltk13, minixml
, pkgconfig, zlib
}:
stdenv.mkDerivation rec {
name = "zynaddsubfx-${version}";
@ -9,18 +11,9 @@ stdenv.mkDerivation rec {
sha256 = "0kgmwyh4rhyqdfrdzhbzjjk2hzggkp9c4aac6sy3xv6cc1b5jjxq";
};
buildInputs = [ alsaLib fftw fltk13 minixml zlib ];
buildInputs = [ alsaLib jackaudio fftw fltk13 minixml zlib ];
nativeBuildInputs = [ cmake pkgconfig ];
patches = [
(fetchurl {
url = http://patch-tracker.debian.org/patch/series/dl/zynaddsubfx/2.4.0-1.2/09_fluid_1.3.patch;
sha256 = "06wl7fs44b24ls1fzh21596n6zzc3ywm2bcdfrkfiiwpzin3yjq6";
})
];
#installPhase = "mkdir -pv $out/bin; cp -v zynaddsubfx $out/bin";
meta = with stdenv.lib; {
description = "high quality software synthesizer";
homepage = http://zynaddsubfx.sourceforge.net;