audio-ess/lutin_audio-ess.py

54 lines
1.1 KiB
Python
Raw Permalink Normal View History

2014-03-18 11:13:00 +01:00
#!/usr/bin/python
2015-05-08 22:34:39 +02:00
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():
2016-09-12 21:06:37 +02:00
return "version.txt"
2015-10-14 21:21:03 +02:00
def get_version():
2016-09-12 21:06:37 +02:00
return "version.txt"
2015-10-14 21:21:03 +02:00
def configure(target, my_module):
2014-03-18 11:13:00 +01:00
# System core
2015-09-24 21:44:04 +02:00
my_module.add_src_file([
'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'
])
2015-09-24 21:44:04 +02:00
my_module.add_header_file([
'audio/ess/effects.hpp',
'audio/ess/ess.hpp',
'audio/ess/music.hpp',
'audio/ess/LoadedFile.hpp'
])
2014-03-18 11:13:00 +01:00
# name of the dependency
2016-09-07 22:05:42 +02:00
my_module.add_depend(['etk', 'audio-river', 'ogg', 'ejson'])
2016-09-08 21:35:02 +02:00
if "Android" in target.get_type():
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
my_module.add_path(".")
return True
2014-03-18 11:13:00 +01:00