From eded5ed94efb9ceb159cd714e248d136ab2d5e0a Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Wed, 30 Nov 2022 11:18:02 +0000 Subject: [PATCH] reaper: provide libxdo for ReaLearn 2.14 ReaLearn 2.14 has added support for binding MIDI messages to mouse events (to control plugins with no other method of input) via Rust "enigo" crate which does this on Linux by binding to the xdotool library. --- pkgs/applications/audio/reaper/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/audio/reaper/default.nix b/pkgs/applications/audio/reaper/default.nix index 6b09e086fa3d..6858d6b1bd7d 100644 --- a/pkgs/applications/audio/reaper/default.nix +++ b/pkgs/applications/audio/reaper/default.nix @@ -9,6 +9,7 @@ , ffmpeg , vlc , xdg-utils +, xdotool , which , jackSupport ? true @@ -69,7 +70,7 @@ stdenv.mkDerivation rec { # seem to have an effect for some plugins. # We opt for wrapping the executable with LD_LIBRARY_PATH prefix. wrapProgram $out/opt/REAPER/reaper \ - --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ lame ffmpeg vlc ]}" + --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ lame ffmpeg vlc xdotool ]}" mkdir $out/bin ln -s $out/opt/REAPER/reaper $out/bin/