Merge pull request #67553 from Moredread/rtaudio-pulseaudio

rtmidi: add PulseAudio support
This commit is contained in:
worldofpeace 2019-09-12 09:16:52 -04:00 committed by GitHub
commit 5c8c3d6ce4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, rtmidi }: { stdenv, fetchFromGitHub, autoconf, automake, libtool, libjack2, alsaLib, pulseaudio, rtmidi }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "5.1.0"; version = "5.1.0";
@ -13,18 +13,18 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
buildInputs = [ autoconf automake libtool libjack2 alsaLib rtmidi ]; buildInputs = [ autoconf automake libtool libjack2 alsaLib pulseaudio rtmidi ];
preConfigure = '' preConfigure = ''
./autogen.sh --no-configure ./autogen.sh --no-configure
./configure ./configure
''; '';
meta = { meta = with stdenv.lib; {
description = "A set of C++ classes that provide a cross platform API for realtime audio input/output"; 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/; homepage = http://www.music.mcgill.ca/~gary/rtaudio/;
license = stdenv.lib.licenses.mit; license = licenses.mit;
maintainers = [ stdenv.lib.maintainers.magnetophon ]; maintainers = [ maintainers.magnetophon ];
platforms = with stdenv.lib.platforms; linux ++ darwin; platforms = platforms.unix;
}; };
} }