Merge pull request #96915 from juliendehos/lingot
lingot: add jackSupport option
This commit is contained in:
commit
a10cd24ab0
1 changed files with 4 additions and 4 deletions
|
@ -5,8 +5,10 @@
|
||||||
, gtk3
|
, gtk3
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook
|
||||||
, alsaLib
|
, alsaLib
|
||||||
|
, libjack2
|
||||||
, libpulseaudio
|
, libpulseaudio
|
||||||
, fftw
|
, fftw
|
||||||
|
, jackSupport ? true
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -29,11 +31,9 @@ stdenv.mkDerivation rec {
|
||||||
alsaLib
|
alsaLib
|
||||||
libpulseaudio
|
libpulseaudio
|
||||||
fftw
|
fftw
|
||||||
];
|
] ++ stdenv.lib.optional jackSupport libjack2;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = stdenv.lib.optional (!jackSupport) "--disable-jack";
|
||||||
"--disable-jack"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Not a Guitar-Only tuner";
|
description = "Not a Guitar-Only tuner";
|
||||||
|
|
Loading…
Reference in a new issue