summaryrefslogtreecommitdiff
path: root/vst
diff options
context:
space:
mode:
authorTaybin Rutkin <taybin@taybin.com>2009-12-06 14:21:46 +0000
committerTaybin Rutkin <taybin@taybin.com>2009-12-06 14:21:46 +0000
commit52b4b464f9657860e07b224564245ce22ea03df8 (patch)
treeeb920d2cfde38a4b2b5c38ef06d95c492665003d /vst
parent3fdcba185980896366cc0d3d14f6dfd6bbaf1d0a (diff)
Merged revisions 6292,6294-6295,6311,6314 via svnmerge from
svn+ssh://ardoursvn@subversion.ardour.org/ardour2/branches/build_fixes ........ r6292 | trutkin | 2009-12-05 08:31:25 -0500 (Sat, 05 Dec 2009) | 1 line remove scons build files ........ r6294 | trutkin | 2009-12-05 09:11:17 -0500 (Sat, 05 Dec 2009) | 2 lines cairomm remove unnecessary vendor libraries as we now rely on the developer to install them ........ r6295 | trutkin | 2009-12-05 09:12:54 -0500 (Sat, 05 Dec 2009) | 2 lines soundtouch remove unnecessary vendor libraries as we now rely on the developer to install them ........ r6311 | trutkin | 2009-12-05 23:38:49 -0500 (Sat, 05 Dec 2009) | 2 lines glibmm2, gtkmm2, libgnomecanvasmm, sigc++2 remove unnecessary vendor libraries as we now rely on the developer to install them ........ r6314 | trutkin | 2009-12-06 09:15:49 -0500 (Sun, 06 Dec 2009) | 4 lines remove scons referencing from Makefile - TODO: should move cscope stuff to waf and get rid of the Makefile ........ git-svn-id: svn://localhost/ardour2/branches/3.0@6315 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'vst')
-rw-r--r--vst/SConscript84
1 files changed, 0 insertions, 84 deletions
diff --git a/vst/SConscript b/vst/SConscript
deleted file mode 100644
index d0f1ff7487..0000000000
--- a/vst/SConscript
+++ /dev/null
@@ -1,84 +0,0 @@
-# -*- python -*-
-
-import os
-import os.path
-import glob
-
-from stat import *
-
-Import('env install_prefix final_prefix config_prefix subst_dict libraries')
-
-ardour_vst = env.Clone()
-
-sources = Split ("""
-winmain.c
-#libs/fst/fst.o
-#libs/fst/fstinfofile.o
-#libs/fst/vstwin.o
-#libs/fst/vsti.o
-"""
-)
-
-ardour_vst.Append (CCFLAGS="-DVST_SUPPORT", CPPPATH="#libs/fst", LIBPATH='#gtk2_ardour', LIBS="ardourgtk")
-ardour_vst.Append (LINKFLAGS='-L/usr/X11R6/lib -lasound -lX11 -lpthread')
-ardour_vst["CC"] ="winegcc"
-ardour_vst["LINK"] ="wineg++ -mwindows"
-
-ardour_vst.Merge ([
- libraries['ardour'],
- libraries['ardour_cp'],
- libraries['gtkmm2ext'],
- libraries['midi++2'],
- libraries['pbd'],
- libraries['gtkmm2'],
- libraries['glib2'],
- libraries['libgnomecanvas2'],
- libraries['libgnomecanvasmm'],
- libraries['sysmidi'],
- libraries['sndfile'],
- libraries['lrdf'],
- libraries['glibmm2'],
- libraries['pangomm'],
- libraries['atkmm'],
- libraries['gdkmm2'],
- libraries['sigc2'],
- libraries['gtk2'],
- libraries['xml'],
- libraries['xslt'],
- libraries['soundtouch'],
- libraries['samplerate'],
- libraries['jack']
-])
-
-#
-# run winegcc to build a mini-win32 executable that wine can run. note: this also
-# generates a script called 'ardour_vst' which we don't use
-#
-
-wine_generated_executable = ardour_vst.Program (target = 'ardour_vst', source = sources)
-
-#
-# generate a shell script that will run the .exe file correctly
-#
-
-wine_executable = ardour_vst.SubstInFile ('ardourvst', 'ardourvst.in', SUBST_DICT = subst_dict)
-
-# make sure the scripts are executable
-
-if ardour_vst['VST']:
- ardour_vst.AddPostAction (wine_executable, ardour_vst.Action (Chmod ('vst/ardevst', 0755)))
- ardour_vst.AddPostAction (wine_executable, ardour_vst.Action (Chmod ("vst/" + str(wine_executable[0]), 0755)))
- Default([wine_generated_executable, wine_executable])
-
- # the wine script - into the bin dir
- env.Alias('install', env.Install(os.path.join(install_prefix, 'bin'), wine_executable))
- # the win32 executable - into the lib dir since the wine script will look for it there
- env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour3'), 'ardour_vst.exe.so'))
-
-env.Alias ('tarball', env.Distribute (env['DISTTREE'],
- [ 'SConscript',
- 'winmain.c',
- 'ardourvst.in',
- 'ardevst'
- ]))
-