2017-06-14 16:44:46 -07:00
|
|
|
{ stdenv, fetchurl, alsaLib, cairo, cmake, libjack2, fftw, fltk13, lash, libjpeg
|
|
|
|
, libXpm, minixml, ntk, pkgconfig, zlib, liblo
|
2014-01-19 04:01:49 -08:00
|
|
|
}:
|
2011-04-07 15:24:56 -07:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "zynaddsubfx-${version}";
|
2017-12-10 23:00:51 -08:00
|
|
|
version = "3.0.3";
|
2011-04-07 15:24:56 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2016-03-23 11:26:36 -07:00
|
|
|
url = "mirror://sourceforge/zynaddsubfx/zynaddsubfx-${version}.tar.bz2";
|
2017-12-10 23:00:51 -08:00
|
|
|
sha256 = "1hfpiqdm337gl4ynkmmp2qss2m5z8mzqzjrbiyg6w1v4js7l9phi";
|
2011-04-07 15:24:56 -07:00
|
|
|
};
|
|
|
|
|
2017-06-14 16:44:46 -07:00
|
|
|
buildInputs = [ alsaLib cairo libjack2 fftw fltk13 lash libjpeg libXpm minixml ntk zlib liblo ];
|
2012-12-28 10:20:09 -08:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2011-04-07 15:24:56 -07:00
|
|
|
|
2017-12-10 23:00:51 -08:00
|
|
|
patchPhase = ''
|
|
|
|
substituteInPlace src/Misc/Config.cpp --replace /usr $out
|
|
|
|
'';
|
|
|
|
|
2016-02-26 09:38:15 -08:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-20 13:51:26 -08:00
|
|
|
|
2011-04-07 15:24:56 -07:00
|
|
|
meta = with stdenv.lib; {
|
2014-06-23 04:04:57 -07:00
|
|
|
description = "High quality software synthesizer";
|
2011-04-07 15:24:56 -07:00
|
|
|
homepage = http://zynaddsubfx.sourceforge.net;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
2016-03-23 11:26:36 -07:00
|
|
|
maintainers = [ maintainers.goibhniu maintainers.nico202 ];
|
2011-04-07 15:24:56 -07:00
|
|
|
};
|
|
|
|
}
|