mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 14:15:46 +01:00
update external VST scanner app
This commit is contained in:
parent
993ed56701
commit
e2adf46e0f
3 changed files with 9 additions and 9 deletions
|
|
@ -39,13 +39,13 @@ int main (int argc, char **argv) {
|
|||
char *dllpath = argv[1];
|
||||
std::vector<VSTInfo *> *infos;
|
||||
#ifdef LXVST_SUPPORT
|
||||
if (strstr (dllpath, ".so" ) == 0) {
|
||||
if (strstr (dllpath, ".so")) {
|
||||
infos = vstfx_get_info_lx(dllpath);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef WINDOWS_VST_SUPPORT
|
||||
if (strstr (dllpath, ".dll" ) == 0) {
|
||||
if (strstr (dllpath, ".dll")) {
|
||||
infos = vstfx_get_info_fst(dllpath);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
#/bin/sh
|
||||
exec wine "`dirname "$0"`/ardour-@VERSION@-vst-scanner.exe.so" "$@"
|
||||
#!/bin/sh
|
||||
exec wine "`dirname "$0"`/ardour-vst-scanner.exe.so" "$@"
|
||||
|
|
|
|||
|
|
@ -44,9 +44,9 @@ def build(bld):
|
|||
# wine exec wrapper script
|
||||
obj = bld(features = 'subst', rule= 'chmod 0755 ${TGT}')
|
||||
obj.source = 'scanner.wine'
|
||||
obj.target = 'ardour-' + bld.env['VERSION'] + '-vst-scanner'
|
||||
obj.target = 'ardour-vst-scanner'
|
||||
obj.chmod = Utils.O755
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3/fst')
|
||||
obj.dict = {
|
||||
'VERSION' : bld.env['VERSION'],
|
||||
}
|
||||
|
|
@ -57,12 +57,12 @@ def build(bld):
|
|||
'fst.c',
|
||||
'vstwin.c',
|
||||
)
|
||||
obj.target = 'ardour-' + bld.env['VERSION'] + '-vst-scanner.exe.so'
|
||||
obj.linkflags = ['-mwindows', '-Wl,--export-dynamic']
|
||||
obj.target = 'ardour-vst-scanner.exe.so'
|
||||
else:
|
||||
obj = bld (features = 'cxx c cxxprogram')
|
||||
obj.source = ( 'scanner.cc' )
|
||||
obj.target = 'ardour-' + bld.env['VERSION'] + '-vst-scanner'
|
||||
obj.target = 'ardour-vst-scanner'
|
||||
|
||||
obj.includes = [ '../pbd/', '../ardour/', '.' ]
|
||||
obj.defines = [
|
||||
|
|
@ -71,5 +71,5 @@ def build(bld):
|
|||
'VST_SCANNER_APP',
|
||||
'PACKAGE="' + I18N_PACKAGE + '"',
|
||||
]
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
|
||||
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3/fst')
|
||||
obj.uselib = ['GIOMM', 'DL']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue