···1-{ stdenv, fetchsvn, alsaLib, asio, autoconf, automake, bison
2-, libjack2, libgig, libsndfile, libtool, lv2, pkgconfig }:
34stdenv.mkDerivation rec {
5- name = "linuxsampler-svn-${version}";
6- version = "2340";
78- src = fetchsvn {
9- url = "https://svn.linuxsampler.org/svn/linuxsampler/trunk";
10- rev = "${version}";
11- sha256 = "0zsrvs9dwwhjx733m45vfi11yjkqv33z8qxn2i9qriq5zs1f0kd7";
12 };
1314- patches = ./linuxsampler_lv2_sfz_fix.diff;
15-16 # It fails to compile without this option. I'm not sure what the bug
17 # is, but everything works OK for me (goibhniu).
18 configureFlags = [ "--disable-nptl-bug-check" ];
1920 preConfigure = ''
21- sed -e 's/which/type -P/g' -i scripts/generate_parser.sh
22- make -f Makefile.cvs
23 '';
2425- buildInputs = [
26- alsaLib asio autoconf automake bison libjack2 libgig libsndfile
27- libtool lv2 pkgconfig
28- ];
02930 meta = with stdenv.lib; {
31 homepage = http://www.linuxsampler.org;
···40 prior written permission by the LinuxSampler authors. If you
41 have questions on the subject, that are not yet covered by the
42 FAQ, please contact us.
43- '';
44 license = licenses.unfree;
45 maintainers = [ maintainers.goibhniu ];
46 platforms = platforms.linux;
···1+{ stdenv, fetchurl, autoconf, automake, bison, libtool, pkgconfig, which
2+, alsaLib, asio, libjack2, libgig, libsndfile, lv2 }:
34stdenv.mkDerivation rec {
5+ name = "linuxsampler-${version}";
6+ version = "2.1.0";
78+ src = fetchurl {
9+ url = "http://download.linuxsampler.org/packages/${name}.tar.bz2";
10+ sha256 = "0fdxpw7jjfi058l95131d6d8538h05z7n94l60i6mhp9xbplj2jf";
011 };
120013 # It fails to compile without this option. I'm not sure what the bug
14 # is, but everything works OK for me (goibhniu).
15 configureFlags = [ "--disable-nptl-bug-check" ];
1617 preConfigure = ''
18+ make -f Makefile.svn
019 '';
2021+ nativeBuildInputs = [ autoconf automake bison libtool pkgconfig which ];
22+23+ buildInputs = [ alsaLib asio libjack2 libgig libsndfile lv2 ];
24+25+ enableParallelBuilding = true;
2627 meta = with stdenv.lib; {
28 homepage = http://www.linuxsampler.org;
···37 prior written permission by the LinuxSampler authors. If you
38 have questions on the subject, that are not yet covered by the
39 FAQ, please contact us.
40+ '';
41 license = licenses.unfree;
42 maintainers = [ maintainers.goibhniu ];
43 platforms = platforms.linux;