2016-05-01 17:57:16 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, rtmidi }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-28 00:38:46 +01:00
|
|
|
version = "5.0.0";
|
2016-05-01 17:57:16 +02:00
|
|
|
name = "rtaudio-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "thestk";
|
|
|
|
repo = "rtaudio";
|
|
|
|
rev = "${version}";
|
2018-02-28 00:38:46 +01:00
|
|
|
sha256 = "0jkqnhc2pq31nmq4daxhmqdjgv2qi4ib27hwms2r5zhnmvvzlr67";
|
2016-05-01 17:57:16 +02:00
|
|
|
};
|
|
|
|
|
2018-06-27 23:53:55 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2016-05-01 17:57:16 +02:00
|
|
|
buildInputs = [ autoconf automake libtool libjack2 alsaLib rtmidi ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
./autogen.sh --no-configure
|
|
|
|
./configure
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A set of C++ classes that provide a cross platform API for realtime audio input/output";
|
|
|
|
homepage = http://www.music.mcgill.ca/~gary/rtaudio/;
|
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.magnetophon ];
|
|
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
|
|
};
|
|
|
|
}
|