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