mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
qjackctl: add jackSession
option
This commit is contained in:
parent
0597dcb0c5
commit
c25347d89e
1 changed files with 10 additions and 3 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue