mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 23:20:55 +00:00
Merge pull request #96915 from juliendehos/lingot
lingot: add jackSupport option
This commit is contained in:
commit
a10cd24ab0
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue