2014-01-19 12:20:43 +00:00
|
|
|
{ stdenv, fetchurl, SDL, alsaLib, cmake, fftwSinglePrec, jackaudio, libogg
|
2014-06-26 19:25:07 +00:00
|
|
|
, libsamplerate, libsndfile, pkgconfig, pulseaudio, qt4, freetype
|
2014-01-19 12:20:43 +00:00
|
|
|
}:
|
2011-04-22 23:00:55 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "lmms-${version}";
|
2014-01-19 12:13:32 +00:00
|
|
|
version = "0.4.15";
|
2011-04-22 23:00:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/lmms/${name}.tar.bz2";
|
2014-01-19 12:13:32 +00:00
|
|
|
sha256 = "02q2gbsqwk3hf9kvzz58a5bxmlb4cfr2mzy41wdvbxxdm2pcl101";
|
2011-04-22 23:00:55 +00:00
|
|
|
};
|
|
|
|
|
2014-01-19 12:20:43 +00:00
|
|
|
buildInputs = [
|
|
|
|
SDL alsaLib cmake fftwSinglePrec jackaudio libogg libsamplerate
|
|
|
|
libsndfile pkgconfig pulseaudio qt4
|
|
|
|
];
|
2011-04-22 23:00:55 +00:00
|
|
|
|
2014-06-26 19:25:07 +00:00
|
|
|
# work around broken build system of 0.4.*
|
|
|
|
NIX_CFLAGS_COMPILE = "-I${freetype}/include/freetype2";
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2011-04-22 23:00:55 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Linux MultiMedia Studio";
|
|
|
|
homepage = "http://lmms.sourceforge.net";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
};
|
|
|
|
}
|