summaryrefslogtreecommitdiff
path: root/libs/rubberband/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'libs/rubberband/wscript')
-rw-r--r--libs/rubberband/wscript16
1 files changed, 8 insertions, 8 deletions
diff --git a/libs/rubberband/wscript b/libs/rubberband/wscript
index 011a858aca..15fb9b2ade 100644
--- a/libs/rubberband/wscript
+++ b/libs/rubberband/wscript
@@ -1,7 +1,7 @@
#!/usr/bin/env python
-import autowaf
-import glob
+from waflib.extras import autowaf as autowaf
import os
+import glob
# Version of this package (even if built as a child)
LIBRUBBERBAND_VERSION = '0.0.0'
@@ -17,10 +17,10 @@ APPNAME = 'librubberband'
VERSION = LIBRUBBERBAND_VERSION
# Mandatory variables
-srcdir = '.'
-blddir = 'build'
+top = '.'
+out = 'build'
-def set_options(opt):
+def options(opt):
autowaf.set_options(opt)
def configure(conf):
@@ -29,18 +29,18 @@ def configure(conf):
def build(bld):
# Library
- obj = bld.new_task_gen('cxx', 'shlib')
+ obj = bld(features = 'cxx cxxshlib')
prefix = 'libs/rubberband/'
sources = glob.glob(prefix + 'src/*.cpp')
obj.source = [ ]
for i in sources:
obj.source += [ i.replace(prefix, '') ]
- obj.export_incdirs = ['.']
+ obj.export_includes = ['.']
obj.includes = ['.', 'rubberband']
obj.name = 'librubberband'
obj.target = 'rubberband'
obj.uselib = 'FFTW3 FFTW3F SAMPLERATE SNDFILE'
- obj.uselib_local = 'libvamphost'
+ obj.use = 'libvamphost'
obj.vnum = LIBRUBBERBAND_LIB_VERSION
obj.install_path = os.path.join(bld.env['LIBDIR'], 'ardour3')
obj.cxxflags = '-DPACKAGE="librubberband"'