f6f2f38a6e
Currently, we have a 'jack' package with attrname 'jack1d' and a 'jackdbus' package with attrname 'jackaudio'. Make it consistent 'jack1' and 'jack2' in both package name and attrname. This aligns the naming with what can be found on the JACK homepage. Q: what's the difference between jack1 and jack2? A: http://trac.jackaudio.org/wiki/Q_differenc_jack1_jack2
31 lines
724 B
Nix
31 lines
724 B
Nix
{ stdenv, fetchurl, pkgconfig, alsaLib
|
|
, firewireSupport ? false, ffado ? null }:
|
|
|
|
assert firewireSupport -> ffado != null;
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "jack1-${version}";
|
|
version = "0.121.3";
|
|
|
|
src = fetchurl {
|
|
url = "http://jackaudio.org/downloads/jack-audio-connection-kit-${version}.tar.gz";
|
|
sha256 = "1ypa3gjwy4vmaskin0vczmmdwybckkl42wmkfabx3v5yx8yms2dp";
|
|
};
|
|
|
|
preBuild = "echo ok";
|
|
|
|
configureFlags = ''
|
|
${if firewireSupport then "--enable-firewire" else ""}
|
|
'';
|
|
|
|
buildInputs =
|
|
[ pkgconfig alsaLib
|
|
] ++ (stdenv.lib.optional firewireSupport ffado);
|
|
|
|
meta = {
|
|
description = "JACK audio connection kit";
|
|
homepage = "http://jackaudio.org";
|
|
license = "GPL";
|
|
};
|
|
}
|