2021-01-25 08:26:54 +00:00
|
|
|
{ lib, mkDerivation, fetchFromGitHub
|
2021-06-10 02:57:09 +00:00
|
|
|
, pkg-config, cmake, alsa-lib, libjack2, dbus, qtbase, qttools, qtx11extras
|
2020-11-29 17:31:42 +00:00
|
|
|
# Enable jack session support
|
|
|
|
, jackSession ? false
|
|
|
|
}:
|
2008-08-18 16:03:21 +00:00
|
|
|
|
2019-08-04 20:51:44 +00:00
|
|
|
mkDerivation rec {
|
2023-05-03 11:39:54 +00:00
|
|
|
version = "0.9.10";
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "qjackctl";
|
2008-08-18 16:03:21 +00:00
|
|
|
|
2010-07-28 18:01:17 +00:00
|
|
|
# some dependencies such as killall have to be installed additionally
|
|
|
|
|
2020-12-24 11:35:40 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "rncbc";
|
|
|
|
repo = "qjackctl";
|
2022-12-12 01:36:03 +00:00
|
|
|
rev = "${pname}_${lib.replaceStrings ["."] ["_"] version}";
|
2023-05-03 11:39:54 +00:00
|
|
|
sha256 = "sha256-XF5v+VgSCqqV2ft9qw1NTNzeYOv1OuhljJGdgikPLEo=";
|
2008-08-18 16:03:21 +00:00
|
|
|
};
|
|
|
|
|
2016-11-01 18:48:10 +00:00
|
|
|
buildInputs = [
|
2017-02-03 15:19:44 +00:00
|
|
|
qtbase
|
|
|
|
qtx11extras
|
|
|
|
qttools
|
2021-06-10 02:57:09 +00:00
|
|
|
alsa-lib
|
2016-05-04 21:49:16 +00:00
|
|
|
libjack2
|
2016-11-01 18:48:10 +00:00
|
|
|
dbus
|
2016-05-04 21:49:16 +00:00
|
|
|
];
|
2008-08-18 16:03:21 +00:00
|
|
|
|
2020-12-24 11:35:40 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
];
|
2017-02-28 15:29:45 +00:00
|
|
|
|
2020-12-24 11:35:40 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DCONFIG_JACK_VERSION=1"
|
|
|
|
"-DCONFIG_JACK_SESSION=${toString jackSession}"
|
2020-11-29 17:31:42 +00:00
|
|
|
];
|
2013-02-03 15:58:11 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2013-02-03 15:58:11 +00:00
|
|
|
description = "A Qt application to control the JACK sound server daemon";
|
2020-12-24 11:35:40 +00:00
|
|
|
homepage = "https://github.com/rncbc/qjackctl";
|
2015-10-25 17:59:47 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
|
|
|
platforms = platforms.linux;
|
2008-08-18 16:03:21 +00:00
|
|
|
};
|
|
|
|
}
|