2012-04-20 21:39:42 +01:00
|
|
|
{ stdenv, fetchsvn, alsaLib, asio, autoconf, automake, bison
|
2015-06-27 08:17:52 +01:00
|
|
|
, libjack2, libgig, libsndfile, libtool, lv2, pkgconfig }:
|
2012-04-20 21:39:42 +01: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 22:48:44 +01:00
|
|
|
patches = ./linuxsampler_lv2_sfz_fix.diff;
|
2012-04-20 21:39:42 +01: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 22:48:44 +01:00
|
|
|
preConfigure = ''
|
|
|
|
sed -e 's/which/type -P/g' -i scripts/generate_parser.sh
|
|
|
|
make -f Makefile.cvs
|
|
|
|
'';
|
2012-04-20 21:39:42 +01:00
|
|
|
|
|
|
|
buildInputs = [
|
2015-06-27 08:17:52 +01:00
|
|
|
alsaLib asio autoconf automake bison libjack2 libgig libsndfile
|
2012-07-14 17:50:32 +01:00
|
|
|
libtool lv2 pkgconfig
|
2012-04-20 21:39:42 +01: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 13:37:50 +01:00
|
|
|
license = licenses.unfree;
|
2012-04-20 21:39:42 +01:00
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2012-08-27 22:48:44 +01:00
|
|
|
platforms = platforms.linux;
|
2012-04-20 21:39:42 +01:00
|
|
|
};
|
|
|
|
}
|