audio-ess/lutin_audio-ess.py

56 lines
1.2 KiB
Python
Raw Normal View History

2014-03-18 11:13:00 +01:00
#!/usr/bin/python
2015-05-08 22:34:39 +02:00
import lutin.module as module
import lutin.tools as tools
import lutin.debug as debug
2014-03-18 11:13:00 +01:00
2015-10-14 21:21:03 +02:00
def get_type():
return "LIBRARY"
2014-03-18 11:13:00 +01:00
def get_desc():
2015-06-15 19:37:13 +02:00
return "ewol sound set interface for 'small game' audio effects"
2014-03-18 11:13:00 +01: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"
2014-03-18 11:13:00 +01:00
2015-10-14 21:21:03 +02:00
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def get_version():
2016-08-30 22:54:08 +02:00
return [0,3,0]
2015-10-14 21:21:03 +02:00
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
2014-03-18 11:13:00 +01:00
# System core
2015-09-24 21:44:04 +02:00
my_module.add_src_file([
2015-04-11 13:20:46 +02:00
'audio/ess/debug.cpp',
'audio/ess/decWav.cpp',
'audio/ess/decOgg.cpp',
'audio/ess/effects.cpp',
'audio/ess/ess.cpp',
'audio/ess/music.cpp',
'audio/ess/LoadedFile.cpp'
2014-03-18 11:13:00 +01:00
])
2015-09-24 21:44:04 +02:00
my_module.add_header_file([
2015-09-14 21:11:04 +02:00
'audio/ess/effects.h',
'audio/ess/ess.h',
'audio/ess/music.h',
'audio/ess/LoadedFile.h'
])
2014-03-18 11:13:00 +01:00
# name of the dependency
2015-09-24 21:44:04 +02:00
my_module.add_module_depend(['etk', 'audio-river', 'ogg', 'ejson'])
if target.name=="Android":
2015-04-11 13:20:46 +02:00
# TODO : Change this ...
2015-09-24 21:44:04 +02:00
my_module.add_export_flag('c++', ["-pthread", "-frtti", "-fexceptions"])
2014-03-18 11:13:00 +01:00
2015-09-24 21:44:04 +02:00
my_module.add_path(tools.get_current_path(__file__))
return my_module
2014-03-18 11:13:00 +01:00