2012-04-20 20:39:42 +00:00
|
|
|
{ stdenv, fetchsvn, alsaLib, asio, autoconf, automake, bison
|
2012-07-14 16:50:32 +00:00
|
|
|
, jackaudio, libgig, libsndfile, libtool, lv2, pkgconfig }:
|
2012-04-20 20:39:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "linuxsampler-svn-${version}";
|
|
|
|
version = "2340";
|
|
|
|
|
|
|
|
src = fetchsvn {
|
|
|
|
url = "https://svn.linuxsampler.org/svn/linuxsampler/trunk";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "0zsrvs9dwwhjx733m45vfi11yjkqv33z8qxn2i9qriq5zs1f0kd7";
|
|
|
|
};
|
|
|
|
|
2012-08-27 21:48:44 +00:00
|
|
|
patches = ./linuxsampler_lv2_sfz_fix.diff;
|
2012-04-20 20:39:42 +00:00
|
|
|
|
2013-03-25 20:52:01 +00:00
|
|
|
# It fails to compile without this option. I'm not sure what the bug
|
|
|
|
# is, but everything works OK for me (goibhniu).
|
|
|
|
configureFlags = [ "--disable-nptl-bug-check" ];
|
|
|
|
|
2012-08-27 21:48:44 +00:00
|
|
|
preConfigure = ''
|
|
|
|
sed -e 's/which/type -P/g' -i scripts/generate_parser.sh
|
|
|
|
make -f Makefile.cvs
|
|
|
|
'';
|
2012-04-20 20:39:42 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
alsaLib asio autoconf automake bison jackaudio libgig libsndfile
|
2012-07-14 16:50:32 +00:00
|
|
|
libtool lv2 pkgconfig
|
2012-04-20 20:39:42 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.linuxsampler.org;
|
|
|
|
description = "Sampler backend";
|
|
|
|
longDescription = ''
|
|
|
|
Includes sampler engine, audio and MIDI drivers, network layer
|
|
|
|
(LSCP) API and native C++ API.
|
|
|
|
|
|
|
|
LinuxSampler is licensed under the GNU GPL with the exception
|
|
|
|
that USAGE of the source code, libraries and applications FOR
|
|
|
|
COMMERCIAL HARDWARE OR SOFTWARE PRODUCTS IS NOT ALLOWED without
|
|
|
|
prior written permission by the LinuxSampler authors. If you
|
|
|
|
have questions on the subject, that are not yet covered by the
|
|
|
|
FAQ, please contact us.
|
|
|
|
'';
|
2013-04-12 12:37:50 +00:00
|
|
|
license = licenses.unfree;
|
2012-04-20 20:39:42 +00:00
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2012-08-27 21:48:44 +00:00
|
|
|
platforms = platforms.linux;
|
2012-04-20 20:39:42 +00:00
|
|
|
};
|
|
|
|
}
|