[DEV] Update new lutin 2.2.0 (no legacy support)

This commit is contained in:
Edouard DUPIN 2016-10-04 23:41:29 +02:00
parent 796053b102
commit ba85eb4d8c

View File

@ -1,7 +1,6 @@
#!/usr/bin/python
import lutin.module as module
import lutin.tools as tools
import lutin.debug as debug
import lutin.tools as tools
import os
@ -23,8 +22,7 @@ def get_compagny_name():
def get_version():
return [1,3,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'ogg/ogg/framing.c',
'ogg/ogg/bitwise.c',
@ -48,9 +46,11 @@ def create(target, module_name):
my_module.add_flag('c', "-DBYTE_ORDER=1")
my_module.add_flag('c', "-DBIG_ENDIAN=0")
my_module.add_flag('c', "-DLITTLE_ENDIAN=1")
my_module.add_path(os.path.join(tools.get_current_path(__file__), "ogg"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "ogg/ogg"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "ogg/tremor"))
my_module.add_path([
"ogg",
"ogg/ogg",
"ogg/tremor"
])
my_module.add_header_file([
'ogg/tremor/window_lookup.h',
'ogg/tremor/mdct.h',
@ -79,7 +79,7 @@ def create(target, module_name):
'c',
'm'
])
return my_module
return True