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