about summary refs log tree commit diff
path: root/pkgs/development/libraries/drumstick/drumstick-plugins.patch
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2020-11-12 03:38:19 +0000
committerOrivej Desh <orivej@gmx.fr>2020-11-12 03:41:46 +0000
commita1c9c430bf340a7b5170be853cf3261ba7afadb0 (patch)
tree958bb38f24b30040cd1a16d5450f52612fc2fc2a /pkgs/development/libraries/drumstick/drumstick-plugins.patch
parent66c98ec5506c8fbefc4326f9f95035aaecb3a464 (diff)
drumstick: fix plugin lookup and enable SonivoxEAS and FluidSynth plugins
SonivoxEAS is enabled by building with PulseAudio.
Diffstat (limited to 'pkgs/development/libraries/drumstick/drumstick-plugins.patch')
-rw-r--r--pkgs/development/libraries/drumstick/drumstick-plugins.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/libraries/drumstick/drumstick-plugins.patch b/pkgs/development/libraries/drumstick/drumstick-plugins.patch
new file mode 100644
index 0000000000000..cbb0a0e348966
--- /dev/null
+++ b/pkgs/development/libraries/drumstick/drumstick-plugins.patch
@@ -0,0 +1,12 @@
+Make it look for its plugin in its own installation directory.
+
+--- 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/drumstick", result );
+         return result;
+     }
+