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
|
|
|
|
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.
|
|
|
|
'';
|
2012-08-27 21:48:44 +00:00
|
|
|
license = licenses.proprietary;
|
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
|
|
|
};
|
|
|
|
}
|