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