qjackctl: add jackSession option

This commit is contained in:
Сухарик 2020-11-29 20:31:42 +03:00
parent 0597dcb0c5
commit c25347d89e

@ -1,4 +1,8 @@
{ stdenv, mkDerivation, fetchurl, pkgconfig, alsaLib, libjack2, dbus, qtbase, qttools, qtx11extras }:
{ stdenv, mkDerivation, fetchurl
, pkg-config, alsaLib, libjack2, dbus, qtbase, qttools, qtx11extras
# Enable jack session support
, jackSession ? false
}:
mkDerivation rec {
version = "0.6.3";
@ -20,9 +24,12 @@ mkDerivation rec {
dbus
];
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkg-config ];
configureFlags = [ "--enable-jack-version" ];
configureFlags = [
"--enable-jack-version"
(stdenv.lib.strings.enableFeature jackSession "jack-session")
];
meta = with stdenv.lib; {
description = "A Qt application to control the JACK sound server daemon";