jack-example-tools: init at 4

This commit is contained in:
pennae 2023-09-04 20:20:15 +02:00
parent a9fea43703
commit 9ee9dfac22
2 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,58 @@
{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, meson
, ninja
, jack
, alsa-lib
, libopus
, libsamplerate
, libsndfile
, readline
, zita-alsa-pcmi
, zita-resampler
}:
stdenv.mkDerivation (final: {
pname = "jack-example-tools";
version = "4";
src = fetchFromGitHub {
owner = "jackaudio";
repo = "jack-example-tools";
rev = "tags/${final.version}";
hash = "sha256-5jmynNxwNVLxEZ1MaqQUG6kRwipDkjhrdDCbZHtmAHk=";
};
nativeBuildInputs = [ pkg-config meson ninja ];
buildInputs = [
jack
alsa-lib
libopus
libsamplerate
libsndfile
readline
zita-alsa-pcmi
zita-resampler
];
postPatch = ''
patchShebangs scripts
'';
# no tests defined, but prepare for some in the future.
doCheck = true;
meta = with lib; {
description = "Official examples and tools from the JACK project";
homepage = "https://jackaudio.org";
license = licenses.gpl2Plus;
platforms = platforms.unix;
broken = stdenv.isDarwin;
maintainers = with maintainers; [ pennae ];
};
})

View File

@ -40551,6 +40551,11 @@ with pkgs;
libjack2 = jack2.override { prefix = "lib"; };
jack-example-tools = callPackage ../misc/jackaudio/tools.nix {
libopus = libopus.override { withCustomModes = true; };
jack = jack2;
};
jack-autoconnect = libsForQt5.callPackage ../applications/audio/jack-autoconnect { };
jack_autoconnect = jack-autoconnect;