2015-04-20 22:10:56 +02:00
|
|
|
#!/usr/bin/python
|
2016-10-04 23:41:29 +02:00
|
|
|
import lutin.debug as debug
|
2015-05-08 22:33:49 +02:00
|
|
|
import lutin.tools as tools
|
2015-04-20 22:10:56 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "LIBRARY"
|
|
|
|
|
2015-04-20 22:10:56 +02:00
|
|
|
def get_desc():
|
2015-06-15 19:17:19 +02:00
|
|
|
return "speex algos wrapper"
|
2015-04-20 22:10:56 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def get_licence():
|
|
|
|
return "APACHE-2"
|
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "com"
|
|
|
|
|
|
|
|
def get_compagny_name():
|
|
|
|
return "atria-soft"
|
|
|
|
|
|
|
|
def get_maintainer():
|
2016-09-12 21:06:37 +02:00
|
|
|
return "authors.txt"
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_version():
|
2016-09-12 21:06:37 +02:00
|
|
|
return "version.txt"
|
2015-04-20 22:10:56 +02:00
|
|
|
|
2016-10-04 23:41:29 +02:00
|
|
|
def configure(target, my_module):
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_src_file([
|
2016-10-04 23:41:29 +02:00
|
|
|
'audio/algo/speex/debug.cpp',
|
|
|
|
'audio/algo/speex/Resampler.cpp'
|
|
|
|
])
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_header_file([
|
2016-10-04 23:41:29 +02:00
|
|
|
'audio/algo/speex/Resampler.hpp'
|
|
|
|
])
|
|
|
|
my_module.add_depend([
|
|
|
|
'etk',
|
|
|
|
'audio'
|
|
|
|
])
|
2016-09-07 22:05:42 +02:00
|
|
|
my_module.add_optionnal_depend('speex-dsp', ["c++", "-DHAVE_SPEEX_DSP"])
|
2016-10-04 23:41:29 +02:00
|
|
|
my_module.add_path(".")
|
|
|
|
return True
|
2015-04-20 22:10:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|