about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/drumstick/drumstick-plugins.patch
blob: 59711120a8e862348a1a4666e784553c186704ad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Make it look for its plugin in its own installation directory.

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 );
         }
+        d->appendDir( "@out@/lib/" + QSTR_DRUMSTICK, result );
         return result;
     }