2021-01-19 06:50:56 +00:00
|
|
|
{ lib, stdenv, fetchurl, autoconf, automake, bison, libtool, pkg-config, which
|
2021-06-10 02:57:09 +00:00
|
|
|
, alsa-lib, asio, libjack2, libgig, libsndfile, lv2 }:
|
2012-04-20 20:39:42 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "linuxsampler";
|
2021-05-18 22:54:20 +00:00
|
|
|
version = "2.2.0";
|
2012-04-20 20:39:42 +00:00
|
|
|
|
2017-12-09 01:35:27 +00:00
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://download.linuxsampler.org/packages/${pname}-${version}.tar.bz2";
|
2021-05-18 22:54:20 +00:00
|
|
|
sha256 = "sha256-xNFjxrrC0B8Oj10HIQ1AmI7pO34HuYRyyUaoB2MDmYw=";
|
2012-04-20 20:39:42 +00:00
|
|
|
};
|
|
|
|
|
2012-08-27 21:48:44 +00:00
|
|
|
preConfigure = ''
|
2017-12-09 01:35:27 +00:00
|
|
|
make -f Makefile.svn
|
2012-08-27 21:48:44 +00:00
|
|
|
'';
|
2012-04-20 20:39:42 +00:00
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoconf automake bison libtool pkg-config which ];
|
2017-12-09 01:35:27 +00:00
|
|
|
|
2021-06-10 02:57:09 +00:00
|
|
|
buildInputs = [ alsa-lib asio libjack2 libgig libsndfile lv2 ];
|
2017-12-09 01:35:27 +00:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2012-04-20 20:39:42 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.linuxsampler.org";
|
2012-04-20 20:39:42 +00: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 01:35:27 +00:00
|
|
|
'';
|
2013-04-12 12:37:50 +00:00
|
|
|
license = licenses.unfree;
|
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
|
|
|
};
|
|
|
|
}
|