summaryrefslogtreecommitdiff
path: root/libs/fst
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-11-13 16:31:15 +0100
committerRobin Gareus <robin@gareus.org>2016-11-13 16:35:06 +0100
commit8b93fb02f38148c25c91ed41a4f12735be38dbf0 (patch)
tree3c10f8bc025cc8ec5489bd289b5eb27c9c6e5079 /libs/fst
parent43bd7f5db18e2bf4c7de0bcf7f614399576712ab (diff)
Mac VST-2.x support
Diffstat (limited to 'libs/fst')
-rw-r--r--libs/fst/scanner.cc9
-rw-r--r--libs/fst/wscript2
2 files changed, 10 insertions, 1 deletions
diff --git a/libs/fst/scanner.cc b/libs/fst/scanner.cc
index d56bdb168c..1f8a90e7a8 100644
--- a/libs/fst/scanner.cc
+++ b/libs/fst/scanner.cc
@@ -31,6 +31,9 @@
#ifdef LXVST_SUPPORT
#include "../ardour/linux_vst_support.cc"
#endif
+#ifdef MACVST_SUPPORT
+#include "../ardour/mac_vst_support.cc"
+#endif
#include "../ardour/filesystem_paths.cc"
#include "../ardour/directory_names.cc"
@@ -117,6 +120,12 @@ int main (int argc, char **argv) {
infos = vstfx_get_info_fst(dllpath);
}
#endif
+
+#ifdef MACVST_SUPPORT
+ else if (slen > 4 && 0 == g_ascii_strcasecmp (&dllpath[slen-4], ".vst")) {
+ infos = vstfx_get_info_mac(dllpath);
+ }
+#endif
else {
fprintf(stderr, "'%s' is not a supported VST plugin.\n", dllpath);
}
diff --git a/libs/fst/wscript b/libs/fst/wscript
index a987235ec0..465ba65840 100644
--- a/libs/fst/wscript
+++ b/libs/fst/wscript
@@ -42,7 +42,7 @@ def set_winegcc(self):
def build(bld):
VERSION = "%s.%s" % (bld.env['MAJOR'], bld.env['MINOR'])
- if not (bld.is_defined('WINDOWS_VST_SUPPORT') or bld.is_defined('LXVST_SUPPORT')):
+ if not (bld.is_defined('WINDOWS_VST_SUPPORT') or bld.is_defined('LXVST_SUPPORT') or bld.is_defined ('MACVST_SUPPORT')):
return
if bld.is_defined('WINDOWS_VST_SUPPORT') and bld.env['build_target'] != 'mingw':