audio-algo-speex/lutin_audio-algo-speex.py

56 lines
913 B
Python
Raw Permalink Normal View History

#!/usr/bin/python
2019-05-03 10:18:23 +02:00
import realog.debug as debug
2015-05-08 22:33:49 +02:00
import lutin.tools as tools
2015-10-14 21:21:03 +02:00
def get_type():
return "LIBRARY"
def get_desc():
2015-06-15 19:17:19 +02:00
return "speex algos wrapper"
2015-10-14 21:21:03 +02:00
def get_licence():
return "MPL-2"
2015-10-14 21:21:03 +02:00
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"
def configure(target, my_module):
2015-09-24 21:44:04 +02:00
my_module.add_src_file([
'audio/algo/speex/debug.cpp',
2018-06-19 22:12:46 +02:00
'audio/algo/speex/Resampler.cpp',
'audio/algo/speex/Aec.cpp',
'audio/algo/speex/Vad.cpp',
])
2015-09-24 21:44:04 +02:00
my_module.add_header_file([
2018-06-19 22:12:46 +02:00
'audio/algo/speex/Resampler.hpp',
'audio/algo/speex/Aec.hpp',
'audio/algo/speex/Vad.hpp',
])
my_module.add_depend([
'etk',
'audio',
'webrtc',
])
2016-09-07 22:05:42 +02:00
my_module.add_optionnal_depend('speex-dsp', ["c++", "-DHAVE_SPEEX_DSP"])
my_module.add_path(".")
return True