make --lv2=0 work, as a workaround for LV2 release schedule
git-svn-id: svn://localhost/ardour2/branches/3.0@10727 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
692a3fb5cf
commit
adcbae6954
|
@ -255,11 +255,12 @@ def configure(conf):
|
|||
atleast_version='0.1.0')
|
||||
autowaf.check_pkg(conf, 'sigc++-2.0', uselib_store='SIGCPP',
|
||||
atleast_version='2.0')
|
||||
autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV',
|
||||
atleast_version='0.0.0', mandatory=False)
|
||||
if conf.is_defined('HAVE_LILV'):
|
||||
autowaf.check_pkg(conf, 'suil-0', uselib_store='SUIL',
|
||||
atleast_version='0.2.0', mandatory=False)
|
||||
if Options.options.lv2:
|
||||
autowaf.check_pkg(conf, 'lilv-0', uselib_store='LILV',
|
||||
atleast_version='0.0.0', mandatory=False)
|
||||
if conf.is_defined('HAVE_LILV'):
|
||||
autowaf.check_pkg(conf, 'suil-0', uselib_store='SUIL',
|
||||
atleast_version='0.2.0', mandatory=False)
|
||||
# autowaf.check_pkg(conf, 'soundtouch-1.0', uselib_store='SOUNDTOUCH',
|
||||
# mandatory=False)
|
||||
autowaf.check_pkg(conf, 'cppunit', uselib_store='CPPUNIT',
|
||||
|
@ -330,7 +331,8 @@ int main(int argc, char **argv) {
|
|||
if ogg_supported():
|
||||
conf.define ('HAVE_OGG', 1)
|
||||
|
||||
if conf.is_defined('HAVE_LILV'):
|
||||
if Options.options.lv2 and conf.is_defined('HAVE_LILV'):
|
||||
print "LV2 option was ", Options.options.lv2
|
||||
conf.define ('LV2_SUPPORT', 1)
|
||||
|
||||
conf.write_config_header('libardour-config.h', remove=False)
|
||||
|
|
2
wscript
2
wscript
|
@ -367,7 +367,7 @@ def options(opt):
|
|||
help='Include Freesound database lookup')
|
||||
opt.add_option('--gprofile', action='store_true', default=False, dest='gprofile',
|
||||
help='Compile for use with gprofile')
|
||||
opt.add_option('--lv2', action='store_true', default=False, dest='lv2',
|
||||
opt.add_option('--lv2', action='store', type="int", default=0, dest='lv2',
|
||||
help='Compile with support for LV2 (if Lilv+Suil is available)')
|
||||
opt.add_option('--lxvst', action='store_true', default=lxvst_default, dest='lxvst',
|
||||
help='Compile with support for linuxVST plugins')
|
||||
|
|
Loading…
Reference in New Issue
Block a user