2011-05-09 21:49:51 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, alsaLib, python, dbus, pythonDBus, expat, makeWrapper }:
|
2010-07-28 19:01:17 +01:00
|
|
|
|
2011-05-09 21:49:51 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "jackdbus-${version}";
|
|
|
|
version = "1.9.7";
|
2010-07-28 19:01:17 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-05-09 21:49:51 +01:00
|
|
|
url = "http://www.grame.fr/~letz/jack-1.9.7.tar.bz2";
|
|
|
|
sha256 = "01gcn82bb7xnbcsd2ispbav6lwm0il4g8rs2mbaqpcrf9nnmfvq9";
|
2010-07-28 19:01:17 +01:00
|
|
|
};
|
2008-12-20 01:20:35 +00:00
|
|
|
|
2011-05-09 21:49:51 +01:00
|
|
|
buildInputs = [ pkgconfig alsaLib python dbus pythonDBus expat makeWrapper ];
|
|
|
|
|
|
|
|
configurePhase = "python waf configure --prefix=$out --dbus --alsa";
|
|
|
|
|
|
|
|
buildPhase = "python waf";
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
python waf install
|
|
|
|
wrapProgram $out/bin/jack_control --set PYTHONPATH $PYTHONPATH
|
2009-09-21 10:58:24 +01:00
|
|
|
'';
|
2011-05-09 21:49:51 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "JACK audio connection kit, version 2 with jackdbus";
|
2010-07-28 19:01:17 +01:00
|
|
|
homepage = "http://jackaudio.org";
|
2011-05-09 21:49:51 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2010-07-28 19:01:17 +01:00
|
|
|
};
|
2008-12-20 01:20:35 +00:00
|
|
|
}
|