lingot: add jackSupport option

This commit is contained in:
Julien Dehos 2020-09-01 17:41:19 +02:00
parent bd3bf7ee76
commit 5d29fd1359

View File

@ -5,8 +5,10 @@
, gtk3
, wrapGAppsHook
, alsaLib
, libjack2
, libpulseaudio
, fftw
, jackSupport ? true
}:
stdenv.mkDerivation rec {
@ -29,11 +31,9 @@ stdenv.mkDerivation rec {
alsaLib
libpulseaudio
fftw
];
] ++ stdenv.lib.optional jackSupport libjack2;
configureFlags = [
"--disable-jack"
];
configureFlags = stdenv.lib.optional (!jackSupport) "--disable-jack";
meta = {
description = "Not a Guitar-Only tuner";