nixpkgs-suyu/pkgs/development/libraries/drumstick/drumstick-plugins.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
513 B
Diff
Raw Normal View History

Make it look for its plugin in its own installation directory.
2021-04-26 22:30:24 +02:00
Without this vmpk fails to start with "Unable to initialize all MIDI drivers".
--- a/library/rt/backendmanager.cpp
+++ b/library/rt/backendmanager.cpp
@@ -159,6 +159,7 @@ namespace rt {
foreach(const QString& path, QCoreApplication::libraryPaths()) {
d->appendDir( path + QDir::separator() + QSTR_DRUMSTICK, result );
}
2021-04-26 22:30:24 +02:00
+ d->appendDir( "@out@/lib/" + QSTR_DRUMSTICK, result );
return result;
}