2015-04-20 22:10:56 +02:00
|
|
|
#!/usr/bin/python
|
2015-05-08 22:33:49 +02:00
|
|
|
import lutin.module as module
|
|
|
|
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():
|
|
|
|
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
|
|
|
|
|
|
|
|
def get_version():
|
2016-08-30 22:54:57 +02:00
|
|
|
return [0,1,"dev"]
|
2015-04-20 22:10:56 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def create(target, module_name):
|
|
|
|
my_module = module.Module(__file__, module_name, get_type())
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_src_file([
|
2015-04-20 22:10:56 +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([
|
2015-09-14 21:11:04 +02:00
|
|
|
'audio/algo/speex/Resampler.h'
|
|
|
|
])
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_module_depend(['etk', 'audio'])
|
|
|
|
my_module.add_optionnal_module_depend('speex-dsp', ["c++", "-DHAVE_SPEEX_DSP"])
|
|
|
|
my_module.add_path(tools.get_current_path(__file__))
|
|
|
|
return my_module
|
2015-04-20 22:10:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|