summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--wscript12
2 files changed, 9 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index b29acf2..9c3970a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,9 @@
slv2 (0.6.2) unstable; urgency=high
* Fix bug introduced with I18N in 0.6.1 which broke feature detection.
+ * Add waf configure --no-jack option to avoid building Jack clients.
- -- Dave Robillard <dave@drobilla.net> Thu, 27 Nov 2008 13:54:56 -0500
+ -- Dave Robillard <dave@drobilla.net> Sun, 30 Nov 2008 19:40:27 -0500
slv2 (0.6.1) unstable; urgency=low
diff --git a/wscript b/wscript
index 99b9daf..ca60365 100644
--- a/wscript
+++ b/wscript
@@ -25,6 +25,7 @@ SLV2_VERSION = '0.6.2'
# 0.5.0 = 8,0,0
# 0.6.0 = 9,0,0 (SVN r1282)
# 0.6.1 = 9,1,0
+# 0.6.2 = 9,1,1
SLV2_LIB_VERSION = '9.1.1'
# Variables for 'waf dist'
@@ -43,17 +44,18 @@ def set_options(opt):
def configure(conf):
autowaf.configure(conf)
autowaf.check_tool(conf, 'compiler_cc')
- autowaf.check_pkg(conf, 'lv2core', destvar='LV2CORE', vnum='1', mandatory=True)
+ autowaf.check_pkg(conf, 'lv2core', destvar='LV2CORE', vnum='1.0', mandatory=True)
autowaf.check_pkg(conf, 'redland', destvar='REDLAND', vnum='1.0.6', mandatory=True)
autowaf.check_pkg(conf, 'jack', destvar='JACK', vnum='0.107.0', mandatory=False)
conf.env.append_value('CCFLAGS', '-std=c99')
conf.define('SLV2_VERSION', SLV2_VERSION)
conf.write_config_header('config.h')
+ conf.env['USE_JACK'] = conf.env['HAVE_JACK'] and not Options.options.no_jack
+
autowaf.print_summary(conf)
autowaf.display_header('SLV2 Configuration')
- autowaf.display_msg(conf, "Jack clients",
- str(conf.env['HAVE_JACK'] == 1 and not Options.options.no_jack))
+ autowaf.display_msg(conf, "Jack clients", str(conf.env['USE_JACK']))
print
def build(bld):
@@ -102,13 +104,13 @@ def build(bld):
obj.uselib_local = 'libslv2'
obj.target = i
obj.install_path = '${BINDIR}'
-
+
# JACK Hosts
hosts = '''
hosts/lv2_jack_host
hosts/lv2_simple_jack_host
'''
- if bld.env['HAVE_JACK'] == 1 and not Options.options.no_jack:
+ if bld.env['USE_JACK']:
for i in hosts.split():
obj = bld.new_task_gen('cc', 'program')
obj.source = i + '.c'