Remove unused LV2 configuration checks 3/3
LV2 has been mandatory since 6.0 (04ccd328dc
)
This commit is contained in:
parent
1b261fab48
commit
8dbc16a929
|
@ -24,27 +24,26 @@ def build(bld):
|
||||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||||
module_ext = module_pat[module_pat.rfind('.'):]
|
module_ext = module_pat[module_pat.rfind('.'):]
|
||||||
|
|
||||||
if bld.is_defined('HAVE_LV2'):
|
# Build RDF files
|
||||||
# Build RDF files
|
for i in ['manifest.ttl', 'a-comp.ttl', 'a-comp#stereo.ttl', 'presets.ttl']:
|
||||||
for i in ['manifest.ttl', 'a-comp.ttl', 'a-comp#stereo.ttl', 'presets.ttl']:
|
obj = bld(features='subst')
|
||||||
obj = bld(features='subst')
|
obj.source = i + '.in'
|
||||||
obj.source = i + '.in'
|
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
obj.chmod = Utils.O644
|
||||||
obj.chmod = Utils.O644
|
obj.LIB_EXT = module_ext
|
||||||
obj.LIB_EXT = module_ext
|
|
||||||
|
|
||||||
# Build plugin library
|
# Build plugin library
|
||||||
obj = bld(features = 'c cshlib',
|
obj = bld(features = 'c cshlib',
|
||||||
source = 'a-comp.c',
|
source = 'a-comp.c',
|
||||||
name = 'a-comp',
|
name = 'a-comp',
|
||||||
cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
|
cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
|
||||||
includes = [ '../../ardour', '../shared' ],
|
includes = [ '../../ardour', '../shared' ],
|
||||||
target = '../../LV2/%s/a-comp' % bundle,
|
target = '../../LV2/%s/a-comp' % bundle,
|
||||||
install_path = '${LV2DIR}/%s' % bundle,
|
install_path = '${LV2DIR}/%s' % bundle,
|
||||||
uselib = 'CAIRO',
|
uselib = 'CAIRO',
|
||||||
use = 'LV2_1_0_0'
|
use = 'LV2_1_0_0'
|
||||||
)
|
)
|
||||||
obj.env.cshlib_PATTERN = module_pat
|
obj.env.cshlib_PATTERN = module_pat
|
||||||
|
|
||||||
# vi:set ts=4 sw=4 et:
|
# vi:set ts=4 sw=4 et:
|
||||||
|
|
|
@ -24,28 +24,27 @@ def build(bld):
|
||||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||||
module_ext = module_pat[module_pat.rfind('.'):]
|
module_ext = module_pat[module_pat.rfind('.'):]
|
||||||
|
|
||||||
if bld.is_defined('HAVE_LV2'):
|
# Build RDF files
|
||||||
# Build RDF files
|
for i in ['manifest.ttl', 'a-delay.ttl', 'presets.ttl']:
|
||||||
for i in ['manifest.ttl', 'a-delay.ttl', 'presets.ttl']:
|
obj = bld(features='subst')
|
||||||
obj = bld(features='subst')
|
obj.source = i + '.in'
|
||||||
obj.source = i + '.in'
|
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
obj.chmod = Utils.O644
|
||||||
obj.chmod = Utils.O644
|
obj.LIB_EXT = module_ext
|
||||||
obj.LIB_EXT = module_ext
|
|
||||||
|
|
||||||
# Build plugin library
|
# Build plugin library
|
||||||
obj = bld(features = 'c cshlib',
|
obj = bld(features = 'c cshlib',
|
||||||
source = 'a-delay.c',
|
source = 'a-delay.c',
|
||||||
name = 'a-delay',
|
name = 'a-delay',
|
||||||
cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
|
cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
|
||||||
includes = [ '../../ardour' ],
|
includes = [ '../../ardour' ],
|
||||||
target = '../../LV2/%s/a-delay' % bundle,
|
target = '../../LV2/%s/a-delay' % bundle,
|
||||||
install_path = '${LV2DIR}/%s' % bundle,
|
install_path = '${LV2DIR}/%s' % bundle,
|
||||||
uselib = 'CAIRO',
|
uselib = 'CAIRO',
|
||||||
use = 'LV2_1_0_0'
|
use = 'LV2_1_0_0'
|
||||||
)
|
)
|
||||||
obj.env.cshlib_PATTERN = module_pat
|
obj.env.cshlib_PATTERN = module_pat
|
||||||
obj.env.cxxshlib_PATTERN = module_pat
|
obj.env.cxxshlib_PATTERN = module_pat
|
||||||
|
|
||||||
# vi:set ts=4 sw=4 et:
|
# vi:set ts=4 sw=4 et:
|
||||||
|
|
|
@ -24,28 +24,27 @@ def build(bld):
|
||||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||||
module_ext = module_pat[module_pat.rfind('.'):]
|
module_ext = module_pat[module_pat.rfind('.'):]
|
||||||
|
|
||||||
if bld.is_defined('HAVE_LV2'):
|
# Build RDF files
|
||||||
# Build RDF files
|
for i in ['manifest.ttl', 'a-eq.ttl']:
|
||||||
for i in ['manifest.ttl', 'a-eq.ttl']:
|
obj = bld(features='subst')
|
||||||
obj = bld(features='subst')
|
obj.source = i + '.in'
|
||||||
obj.source = i + '.in'
|
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
obj.chmod = Utils.O644
|
||||||
obj.chmod = Utils.O644
|
obj.LIB_EXT = module_ext
|
||||||
obj.LIB_EXT = module_ext
|
|
||||||
|
|
||||||
# Build plugin library
|
# Build plugin library
|
||||||
obj = bld(features = 'c cshlib',
|
obj = bld(features = 'c cshlib',
|
||||||
source = 'a-eq.c',
|
source = 'a-eq.c',
|
||||||
name = 'a-eq',
|
name = 'a-eq',
|
||||||
cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
|
cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
|
||||||
includes = [ '../../ardour' ],
|
includes = [ '../../ardour' ],
|
||||||
target = '../../LV2/%s/a-eq' % bundle,
|
target = '../../LV2/%s/a-eq' % bundle,
|
||||||
install_path = '${LV2DIR}/%s' % bundle,
|
install_path = '${LV2DIR}/%s' % bundle,
|
||||||
uselib = 'CAIRO',
|
uselib = 'CAIRO',
|
||||||
use = 'LV2_1_0_0'
|
use = 'LV2_1_0_0'
|
||||||
)
|
)
|
||||||
obj.env.cshlib_PATTERN = module_pat
|
obj.env.cshlib_PATTERN = module_pat
|
||||||
obj.env.cxxshlib_PATTERN = module_pat
|
obj.env.cxxshlib_PATTERN = module_pat
|
||||||
|
|
||||||
# vi:set ts=4 sw=4 et:
|
# vi:set ts=4 sw=4 et:
|
||||||
|
|
|
@ -24,27 +24,26 @@ def build(bld):
|
||||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||||
module_ext = module_pat[module_pat.rfind('.'):]
|
module_ext = module_pat[module_pat.rfind('.'):]
|
||||||
|
|
||||||
if bld.is_defined('HAVE_LV2'):
|
# Build RDF files
|
||||||
# Build RDF files
|
for i in ['manifest.ttl', 'a-exp.ttl', 'a-exp#stereo.ttl']:
|
||||||
for i in ['manifest.ttl', 'a-exp.ttl', 'a-exp#stereo.ttl']:
|
obj = bld(features='subst')
|
||||||
obj = bld(features='subst')
|
obj.source = i + '.in'
|
||||||
obj.source = i + '.in'
|
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
obj.chmod = Utils.O644
|
||||||
obj.chmod = Utils.O644
|
obj.LIB_EXT = module_ext
|
||||||
obj.LIB_EXT = module_ext
|
|
||||||
|
|
||||||
# Build plugin library
|
# Build plugin library
|
||||||
obj = bld(features = 'c cshlib',
|
obj = bld(features = 'c cshlib',
|
||||||
source = 'a-exp.c',
|
source = 'a-exp.c',
|
||||||
name = 'a-exp',
|
name = 'a-exp',
|
||||||
cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
|
cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
|
||||||
includes = [ '../../ardour', '../shared' ],
|
includes = [ '../../ardour', '../shared' ],
|
||||||
target = '../../LV2/%s/a-exp' % bundle,
|
target = '../../LV2/%s/a-exp' % bundle,
|
||||||
install_path = '${LV2DIR}/%s' % bundle,
|
install_path = '${LV2DIR}/%s' % bundle,
|
||||||
uselib = 'CAIRO',
|
uselib = 'CAIRO',
|
||||||
use = 'LV2_1_0_0'
|
use = 'LV2_1_0_0'
|
||||||
)
|
)
|
||||||
obj.env.cshlib_PATTERN = module_pat
|
obj.env.cshlib_PATTERN = module_pat
|
||||||
|
|
||||||
# vi:set ts=4 sw=4 et:
|
# vi:set ts=4 sw=4 et:
|
||||||
|
|
|
@ -23,34 +23,33 @@ def build(bld):
|
||||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||||
module_ext = module_pat[module_pat.rfind('.'):]
|
module_ext = module_pat[module_pat.rfind('.'):]
|
||||||
|
|
||||||
if bld.is_defined('HAVE_LV2'):
|
# Build RDF files
|
||||||
# Build RDF files
|
for i in ['manifest.ttl', 'a-fluidsynth.ttl']:
|
||||||
for i in ['manifest.ttl', 'a-fluidsynth.ttl']:
|
obj = bld(features='subst')
|
||||||
obj = bld(features='subst')
|
obj.source = i + '.in'
|
||||||
obj.source = i + '.in'
|
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
obj.chmod = Utils.O644
|
||||||
obj.chmod = Utils.O644
|
obj.LIB_EXT = module_ext
|
||||||
obj.LIB_EXT = module_ext
|
|
||||||
|
|
||||||
# Build plugin library
|
# Build plugin library
|
||||||
obj = bld(features = 'cxx cshlib',
|
obj = bld(features = 'cxx cshlib',
|
||||||
source = 'a-fluidsynth.cc',
|
source = 'a-fluidsynth.cc',
|
||||||
name = 'a-fluidsynth',
|
name = 'a-fluidsynth',
|
||||||
cxxflags = [ bld.env['compiler_flags_dict']['pic'] ],
|
cxxflags = [ bld.env['compiler_flags_dict']['pic'] ],
|
||||||
includes = [ '../../ardour' ],
|
includes = [ '../../ardour' ],
|
||||||
target = '../../LV2/%s/a-fluidsynth' % bundle,
|
target = '../../LV2/%s/a-fluidsynth' % bundle,
|
||||||
install_path = '${LV2DIR}/%s' % bundle,
|
install_path = '${LV2DIR}/%s' % bundle,
|
||||||
uselib = ['LIBFLUIDSYNTH', 'GLIB'],
|
uselib = ['LIBFLUIDSYNTH', 'GLIB'],
|
||||||
use = ['LV2_1_0_0']
|
use = ['LV2_1_0_0']
|
||||||
)
|
)
|
||||||
|
|
||||||
if bld.is_defined('USE_EXTERNAL_LIBS'):
|
if bld.is_defined('USE_EXTERNAL_LIBS'):
|
||||||
obj.uselib.extend(['LIBFLUIDSYNTH'])
|
obj.uselib.extend(['LIBFLUIDSYNTH'])
|
||||||
else:
|
else:
|
||||||
obj.use.extend(['libfluidsynth_includes', 'libfluidsynth'])
|
obj.use.extend(['libfluidsynth_includes', 'libfluidsynth'])
|
||||||
|
|
||||||
obj.env.cshlib_PATTERN = module_pat
|
obj.env.cshlib_PATTERN = module_pat
|
||||||
obj.env.cxxshlib_PATTERN = module_pat
|
obj.env.cxxshlib_PATTERN = module_pat
|
||||||
|
|
||||||
# vi:set ts=4 sw=4 et:
|
# vi:set ts=4 sw=4 et:
|
||||||
|
|
|
@ -23,28 +23,27 @@ def build(bld):
|
||||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||||
module_ext = module_pat[module_pat.rfind('.'):]
|
module_ext = module_pat[module_pat.rfind('.'):]
|
||||||
|
|
||||||
if bld.is_defined('HAVE_LV2'):
|
# Build RDF files
|
||||||
# Build RDF files
|
for i in ['manifest.ttl', 'a-reverb.ttl']:
|
||||||
for i in ['manifest.ttl', 'a-reverb.ttl']:
|
obj = bld(features='subst')
|
||||||
obj = bld(features='subst')
|
obj.source = i + '.in'
|
||||||
obj.source = i + '.in'
|
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
obj.chmod = Utils.O644
|
||||||
obj.chmod = Utils.O644
|
obj.LIB_EXT = module_ext
|
||||||
obj.LIB_EXT = module_ext
|
|
||||||
|
|
||||||
# Build plugin library
|
# Build plugin library
|
||||||
obj = bld(features = 'c cshlib',
|
obj = bld(features = 'c cshlib',
|
||||||
source = 'a-reverb.c',
|
source = 'a-reverb.c',
|
||||||
name = 'a-reverb',
|
name = 'a-reverb',
|
||||||
cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
|
cflags = [ bld.env['compiler_flags_dict']['pic'], bld.env['compiler_flags_dict']['c99'] ],
|
||||||
includes = [ '../../ardour' ],
|
includes = [ '../../ardour' ],
|
||||||
target = '../../LV2/%s/a-reverb' % bundle,
|
target = '../../LV2/%s/a-reverb' % bundle,
|
||||||
install_path = '${LV2DIR}/%s' % bundle,
|
install_path = '${LV2DIR}/%s' % bundle,
|
||||||
uselib = 'CAIRO',
|
uselib = 'CAIRO',
|
||||||
use = 'LV2_1_0_0'
|
use = 'LV2_1_0_0'
|
||||||
)
|
)
|
||||||
obj.env.cshlib_PATTERN = module_pat
|
obj.env.cshlib_PATTERN = module_pat
|
||||||
obj.env.cxxshlib_PATTERN = module_pat
|
obj.env.cxxshlib_PATTERN = module_pat
|
||||||
|
|
||||||
# vi:set ts=4 sw=4 et:
|
# vi:set ts=4 sw=4 et:
|
||||||
|
|
|
@ -23,25 +23,24 @@ def build(bld):
|
||||||
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
module_pat = re.sub('^lib', '', bld.env.cshlib_PATTERN)
|
||||||
module_ext = module_pat[module_pat.rfind('.'):]
|
module_ext = module_pat[module_pat.rfind('.'):]
|
||||||
|
|
||||||
if bld.is_defined('HAVE_LV2'):
|
# Build RDF files
|
||||||
# Build RDF files
|
for i in ['manifest.ttl', 'reasonablesynth.ttl']:
|
||||||
for i in ['manifest.ttl', 'reasonablesynth.ttl']:
|
obj = bld(features='subst')
|
||||||
obj = bld(features='subst')
|
obj.source = i + '.in'
|
||||||
obj.source = i + '.in'
|
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
||||||
obj.target = '../../LV2/%s/%s' % (bundle, i)
|
obj.install_path = '${LV2DIR}/%s' % bundle
|
||||||
obj.install_path = '${LV2DIR}/%s' % bundle
|
obj.chmod = Utils.O644
|
||||||
obj.chmod = Utils.O644
|
obj.LIB_EXT = module_ext
|
||||||
obj.LIB_EXT = module_ext
|
|
||||||
|
|
||||||
# Build plugin library
|
# Build plugin library
|
||||||
obj = bld(features = 'c cshlib',
|
obj = bld(features = 'c cshlib',
|
||||||
source = 'lv2.c',
|
source = 'lv2.c',
|
||||||
dep_files = 'rsynth.c',
|
dep_files = 'rsynth.c',
|
||||||
name = 'reasonablesynth',
|
name = 'reasonablesynth',
|
||||||
target = '../../LV2/%s/reasonablesynth' % bundle,
|
target = '../../LV2/%s/reasonablesynth' % bundle,
|
||||||
install_path = '${LV2DIR}/%s' % bundle,
|
install_path = '${LV2DIR}/%s' % bundle,
|
||||||
use = 'LV2_1_0_0'
|
use = 'LV2_1_0_0'
|
||||||
)
|
)
|
||||||
obj.env.cshlib_PATTERN = module_pat
|
obj.env.cshlib_PATTERN = module_pat
|
||||||
|
|
||||||
# vi:set ts=4 sw=4 et:
|
# vi:set ts=4 sw=4 et:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user