summaryrefslogtreecommitdiff
path: root/libs/rubberband
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-11-20 20:20:47 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-11-20 20:20:47 +0000
commit678de81b968e4042d402c724e6fb0b5897413a85 (patch)
tree278d212205cb3c672ec737597ad168b524535be6 /libs/rubberband
parente9e328b4692a43b747b150f0f3801e47d8415060 (diff)
integrate the not-yet-released RubberBand library into ardour for timefx
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2704 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/rubberband')
-rw-r--r--libs/rubberband/SConscript28
1 files changed, 28 insertions, 0 deletions
diff --git a/libs/rubberband/SConscript b/libs/rubberband/SConscript
new file mode 100644
index 0000000000..db5c4cd3f6
--- /dev/null
+++ b/libs/rubberband/SConscript
@@ -0,0 +1,28 @@
+# -*- python -*-
+
+import os
+import os.path
+import glob
+
+rubberband_files = glob.glob ('src/*.cpp')
+
+Import('env install_prefix libraries')
+rb = env.Copy()
+
+rb.Merge ([libraries['fftw3f'],
+ libraries['vamp'],
+ libraries['sndfile-ardour']
+ ])
+
+rb.Append (CPPATH='#libs/rubberband/rubberband', CXXFLAGS="-Ilibs/rubberband/rubberband")
+
+librb = rb.SharedLibrary('rubberband', rubberband_files)
+
+Default(librb)
+
+env.Alias('install', env.Install(os.path.join(install_prefix, env['LIBDIR'], 'ardour2'), librb))
+
+env.Alias('tarball', env.Distribute (env['DISTTREE'],
+ [ 'SConscript'] + rubberband_files + glob.glob('src/*.h')))
+
+