[DEV] update new lutin 0.8.0
This commit is contained in:
parent
ad30486ea1
commit
d35fd52d78
@ -1,14 +1,29 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
import lutin.module as module
|
import lutin.module as module
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
import os
|
||||||
|
|
||||||
|
def get_type():
|
||||||
|
return "LIBRARY"
|
||||||
|
|
||||||
def get_desc():
|
def get_desc():
|
||||||
return "Algorithm of speex codec"
|
return "Algorithm of speex codec"
|
||||||
|
|
||||||
|
def get_licence():
|
||||||
|
return "BSD-3"
|
||||||
|
|
||||||
def create(target):
|
def get_compagny_type():
|
||||||
my_module = module.Module(__file__, 'speex', 'LIBRARY')
|
return "org"
|
||||||
# add extra compilation flags :
|
|
||||||
|
def get_compagny_name():
|
||||||
|
return "Xiph"
|
||||||
|
|
||||||
|
def get_version():
|
||||||
|
return [1,2,"rc2"]
|
||||||
|
|
||||||
|
def create(target, module_name):
|
||||||
|
my_module = module.Module(__file__, module_name, get_type())
|
||||||
|
# add extra compilation flags:
|
||||||
my_module.add_extra_compile_flags()
|
my_module.add_extra_compile_flags()
|
||||||
# add the file to compile:
|
# add the file to compile:
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
@ -47,12 +62,20 @@ def create(target):
|
|||||||
'speex/libspeex/stereo.c',
|
'speex/libspeex/stereo.c',
|
||||||
'speex/libspeex/vorbis_psy.c'
|
'speex/libspeex/vorbis_psy.c'
|
||||||
])
|
])
|
||||||
|
my_module.add_header_file([
|
||||||
|
'speex/include/speex/speex_header.h',
|
||||||
|
'speex/include/speex/speex_config_types.h',
|
||||||
|
'speex/include/speex/speex_callbacks.h',
|
||||||
|
'speex/include/speex/speex_types.h',
|
||||||
|
'speex/include/speex/speex.h',
|
||||||
|
'speex/include/speex/speex_stereo.h',
|
||||||
|
'speex/include/speex/speex_bits.h'
|
||||||
|
],
|
||||||
|
destination_path="speex")
|
||||||
|
|
||||||
# name of the dependency
|
|
||||||
#my_module.add_module_depend('speexdsp')
|
my_module.compile_version("c", 1989, gnu=True)
|
||||||
|
my_module.add_path(os.path.join(tools.get_current_path(__file__), "speex/include"))
|
||||||
my_module.compile_version_CC(1989, gnu=True)
|
|
||||||
my_module.add_export_path(tools.get_current_path(__file__) + "/speex/include")
|
|
||||||
# configure library :
|
# configure library :
|
||||||
|
|
||||||
# Make use of ARM4 assembly optimizations
|
# Make use of ARM4 assembly optimizations
|
||||||
|
@ -2,24 +2,33 @@
|
|||||||
import lutin.module as module
|
import lutin.module as module
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
|
def get_type():
|
||||||
|
return "BINARY"
|
||||||
|
|
||||||
|
def get_sub_type():
|
||||||
|
return "TEST"
|
||||||
|
|
||||||
def get_desc():
|
def get_desc():
|
||||||
return "Encode test"
|
return "Encode test"
|
||||||
|
|
||||||
|
def get_licence():
|
||||||
|
return "BSD-3"
|
||||||
|
|
||||||
def create(target):
|
def get_compagny_type():
|
||||||
my_module = module.Module(__file__, 'speextestenc', 'BINARY')
|
return "org"
|
||||||
# add extra compilation flags :
|
|
||||||
|
def get_compagny_name():
|
||||||
|
return "Xiph"
|
||||||
|
|
||||||
|
def create(target, module_name):
|
||||||
|
my_module = module.Module(__file__, module_name, get_type())
|
||||||
my_module.add_extra_compile_flags()
|
my_module.add_extra_compile_flags()
|
||||||
# add the file to compile:
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'speex/libspeex/testenc.c'
|
'speex/libspeex/testenc.c'
|
||||||
])
|
])
|
||||||
|
my_module.compile_version('c', 1989, gnu=True)
|
||||||
my_module.compile_version_CC(1989, gnu=True)
|
|
||||||
# name of the dependency
|
|
||||||
my_module.add_module_depend('speex')
|
my_module.add_module_depend('speex')
|
||||||
|
|
||||||
# add the currrent module at the
|
|
||||||
return my_module
|
return my_module
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,24 +2,34 @@
|
|||||||
import lutin.module as module
|
import lutin.module as module
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
|
def get_type():
|
||||||
|
return "BINARY"
|
||||||
|
|
||||||
|
def get_sub_type():
|
||||||
|
return "TEST"
|
||||||
|
|
||||||
def get_desc():
|
def get_desc():
|
||||||
return "test: Encode U wide band"
|
return "Encode U wide band"
|
||||||
|
|
||||||
|
def get_licence():
|
||||||
|
return "BSD-3"
|
||||||
|
|
||||||
def create(target):
|
def get_compagny_type():
|
||||||
my_module = module.Module(__file__, 'speextestencuwb', 'BINARY')
|
return "org"
|
||||||
# add extra compilation flags :
|
|
||||||
|
def get_compagny_name():
|
||||||
|
return "Xiph"
|
||||||
|
|
||||||
|
def create(target, module_name):
|
||||||
|
my_module = module.Module(__file__, module_name, get_type())
|
||||||
my_module.add_extra_compile_flags()
|
my_module.add_extra_compile_flags()
|
||||||
# add the file to compile:
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'speex/libspeex/testenc_uwb.c'
|
'speex/libspeex/testenc_uwb.c'
|
||||||
])
|
])
|
||||||
|
|
||||||
my_module.compile_version_CC(1989, gnu=True)
|
my_module.compile_version('c', 1989, gnu=True)
|
||||||
# name of the dependency
|
|
||||||
my_module.add_module_depend('speex')
|
my_module.add_module_depend('speex')
|
||||||
|
|
||||||
# add the currrent module at the
|
|
||||||
return my_module
|
return my_module
|
||||||
|
|
||||||
|
|
||||||
|
@ -2,24 +2,34 @@
|
|||||||
import lutin.module as module
|
import lutin.module as module
|
||||||
import lutin.tools as tools
|
import lutin.tools as tools
|
||||||
|
|
||||||
|
|
||||||
|
def get_type():
|
||||||
|
return "BINARY"
|
||||||
|
|
||||||
|
def get_sub_type():
|
||||||
|
return "TEST"
|
||||||
|
|
||||||
def get_desc():
|
def get_desc():
|
||||||
return "test: Encode wide band"
|
return "Encode wide band"
|
||||||
|
|
||||||
|
def get_licence():
|
||||||
|
return "BSD-3"
|
||||||
|
|
||||||
def create(target):
|
def get_compagny_type():
|
||||||
my_module = module.Module(__file__, 'speextestencwb', 'BINARY')
|
return "org"
|
||||||
# add extra compilation flags :
|
|
||||||
|
def get_compagny_name():
|
||||||
|
return "Xiph"
|
||||||
|
|
||||||
|
def create(target, module_name):
|
||||||
|
my_module = module.Module(__file__, module_name, get_type())
|
||||||
my_module.add_extra_compile_flags()
|
my_module.add_extra_compile_flags()
|
||||||
# add the file to compile:
|
|
||||||
my_module.add_src_file([
|
my_module.add_src_file([
|
||||||
'speex/libspeex/testenc_wb.c'
|
'speex/libspeex/testenc_wb.c'
|
||||||
])
|
])
|
||||||
|
|
||||||
my_module.compile_version_CC(1989, gnu=True)
|
my_module.compile_version('c', 1989, gnu=True)
|
||||||
# name of the dependency
|
|
||||||
my_module.add_module_depend('speex')
|
my_module.add_module_depend('speex')
|
||||||
|
|
||||||
# add the currrent module at the
|
|
||||||
return my_module
|
return my_module
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user