2015-04-11 09:38:30 +02:00
|
|
|
#!/usr/bin/python
|
2015-05-08 22:36:02 +02:00
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
2015-04-11 09:38:30 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "LIBRARY"
|
|
|
|
|
2015-04-11 09:38:30 +02:00
|
|
|
def get_desc():
|
2015-06-15 19:36:08 +02:00
|
|
|
return "Multi-nodal audio interface"
|
2015-04-11 09:38:30 +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-11 09:38:30 +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-11 09:38:30 +02:00
|
|
|
'audio/river/debug.cpp',
|
|
|
|
'audio/river/river.cpp',
|
|
|
|
'audio/river/Manager.cpp',
|
|
|
|
'audio/river/Interface.cpp',
|
|
|
|
'audio/river/io/Group.cpp',
|
|
|
|
'audio/river/io/Node.cpp',
|
|
|
|
'audio/river/io/NodeOrchestra.cpp',
|
|
|
|
'audio/river/io/NodePortAudio.cpp',
|
|
|
|
'audio/river/io/NodeAEC.cpp',
|
|
|
|
'audio/river/io/NodeMuxer.cpp',
|
|
|
|
'audio/river/io/Manager.cpp'
|
|
|
|
])
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_header_file([
|
2015-09-14 21:11:04 +02:00
|
|
|
'audio/river/river.h',
|
|
|
|
'audio/river/Manager.h',
|
|
|
|
'audio/river/Interface.h',
|
|
|
|
'audio/river/io/Group.h',
|
|
|
|
'audio/river/io/Node.h',
|
|
|
|
'audio/river/io/Manager.h'
|
|
|
|
])
|
2016-09-07 22:05:42 +02:00
|
|
|
my_module.add_optionnal_depend('audio-orchestra', ["c++", "-DAUDIO_RIVER_BUILD_ORCHESTRA"])
|
|
|
|
my_module.add_optionnal_depend('portaudio', ["c++", "-DAUDIO_RIVER_BUILD_PORTAUDIO"])
|
|
|
|
my_module.add_depend(['audio', 'audio-drain', 'ejson'])
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_path(tools.get_current_path(__file__))
|
|
|
|
return my_module
|
2015-04-11 09:38:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|