2017-12-09 04:35:27 +03:00
|
|
|
{ stdenv, fetchurl, autoconf, automake, bison, libtool, pkgconfig, which
|
|
|
|
, alsaLib, asio, libjack2, libgig, libsndfile, lv2 }:
|
2012-04-21 00:39:42 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 15:41:18 +03:00
|
|
|
pname = "linuxsampler";
|
2019-09-27 05:29:22 +03:00
|
|
|
version = "2.1.1";
|
2012-04-21 00:39:42 +04:00
|
|
|
|
2017-12-09 04:35:27 +03:00
|
|
|
src = fetchurl {
|
2019-08-15 15:41:18 +03:00
|
|
|
url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2";
|
2019-09-27 05:29:22 +03:00
|
|
|
sha256 = "1gijf50x5xbpya5dj3v2mzj7azx4qk9p012csgddp73f0qi0n190";
|
2012-04-21 00:39:42 +04:00
|
|
|
};
|
|
|
|
|
2012-08-28 01:48:44 +04:00
|
|
|
preConfigure = ''
|
2017-12-09 04:35:27 +03:00
|
|
|
make -f Makefile.svn
|
2012-08-28 01:48:44 +04:00
|
|
|
'';
|
2012-04-21 00:39:42 +04:00
|
|
|
|
2017-12-09 04:35:27 +03:00
|
|
|
nativeBuildInputs = [ autoconf automake bison libtool pkgconfig which ];
|
|
|
|
|
|
|
|
buildInputs = [ alsaLib asio libjack2 libgig libsndfile lv2 ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2012-04-21 00:39:42 +04:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "http://www.linuxsampler.org";
|
2012-04-21 00:39:42 +04:00
|
|
|
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.
|
2017-12-09 04:35:27 +03:00
|
|
|
'';
|
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
|
|
|
};
|
|
|
|
}
|