summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-26 17:31:00 +0000
committerDavid Robillard <d@drobilla.net>2009-02-26 17:31:00 +0000
commit2d8df9e2154206181db363974c996e6846bc1c6d (patch)
tree24531aed2cce07c57734bfa886950e4ae8257709 /libs
parent911519a2698a6bd621934e1094e911766e43b2f3 (diff)
Waf: Build LV2 support.
git-svn-id: svn://localhost/ardour2/branches/3.0@4680 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/wscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/libs/ardour/wscript b/libs/ardour/wscript
index 9aa0ac8e6b..964da7c525 100644
--- a/libs/ardour/wscript
+++ b/libs/ardour/wscript
@@ -44,8 +44,9 @@ def configure(conf):
autowaf.check_pkg(conf, 'lrdf', uselib_store='LRDF', atleast_version='0.4.0')
autowaf.check_pkg(conf, 'samplerate', uselib_store='SAMPLERATE', atleast_version='0.1.0')
autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP', atleast_version='2.0')
+ autowaf.check_pkg(conf, 'slv2', uselib_store='SLV2', atleast_version='0.6.4', mandatory=False)
autowaf.check_pkg(conf, 'sndfile', uselib_store='SNDFILE', atleast_version='1.0.18')
- #autowaf.check_pkg(conf, 'soundtouch-1.0', uselib_store='SOUNDTOUCH')
+ autowaf.check_pkg(conf, 'soundtouch-1.0', uselib_store='SOUNDTOUCH', mandatory=False)
conf.env.append_value('CXXFLAGS', '-DUSE_RUBBERBAND')
@@ -227,6 +228,9 @@ def build(bld):
obj.uselib_local += ' librubberband '
#obj.source += ' st_stretch.cc st_pitch.cc '
#obj.uselib += ' SOUNDTOUCH '
+ if bld.env['HAVE_SLV2']:
+ obj.source += ' lv2_plugin.cc '
+ obj.uselib += ' SLV2 '
def shutdown():
autowaf.shutdown()