[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 a5c4b16bbf
commit 015b9b31f8
7 changed files with 34 additions and 45 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [1,6,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([
'openh264/codec/common/src/welsCodecTrace.cpp',
'openh264/codec/common/src/sad_common.cpp',
@ -106,4 +105,4 @@ def create(target, module_name):
'pthread',
'm'
])
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [1,6,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([
'openh264/codec/decoder/core/src/decoder.cpp',
'openh264/codec/decoder/core/src/cabac_decoder.cpp',
@ -53,7 +52,6 @@ def create(target, module_name):
'openh264/codec/decoder/core/arm/intra_pred_neon.S',
'openh264/codec/decoder/core/arm/block_add_neon.S',
])
my_module.add_header_file([
'openh264/codec/decoder/core/inc/decoder.h',
'openh264/codec/decoder/core/inc/error_concealment.h',
@ -87,7 +85,6 @@ def create(target, module_name):
'openh264/codec/decoder/core/inc/decode_mb_aux.h',
'openh264/codec/decoder/core/inc/nal_prefix.h',
'openh264/codec/decoder/plus/inc/welsDecoderExt.h',
],
destination_path="")
my_module.compile_version("C++", 2003)
@ -95,4 +92,4 @@ def create(target, module_name):
'openh264-common',
'openh264-processing'
])
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [1,6,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([
'openh264/codec/encoder/core/src/svc_encode_slice.cpp',
'openh264/codec/encoder/core/src/svc_enc_slice_segment.cpp',
@ -132,4 +131,4 @@ def create(target, module_name):
'openh264-common',
'openh264-processing'
])
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
@ -18,8 +18,7 @@ def get_maintainer():
def get_version():
return [1,6,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([
'openh264/codec/processing/src/adaptivequantization/AdaptiveQuantization.cpp',
'openh264/codec/processing/src/vaacalc/vaacalcfuncs.cpp',
@ -54,7 +53,6 @@ def create(target, module_name):
'openh264/codec/processing/src/arm/adaptive_quantization.S',
'openh264/codec/processing/src/arm/vaa_calc_neon.S',
])
my_module.add_header_file([
'openh264/codec/processing/src/adaptivequantization/AdaptiveQuantization.h',
'openh264/codec/processing/src/vaacalc/vaacalculation.h',
@ -73,11 +71,10 @@ def create(target, module_name):
'openh264/codec/processing/src/scrolldetection/ScrollDetection.h',
'openh264/codec/processing/src/complexityanalysis/ComplexityAnalysis.h',
'openh264/codec/processing/interface/IWelsVP.h',
],
destination_path="")
my_module.compile_version("C++", 2003)
my_module.add_depend([
'openh264-common'
])
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -19,15 +19,14 @@ def get_maintainer():
return ["HaiboZhu <haibozhu@cisco.com>"]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openh264/codec/console/dec/src/h264dec.cpp',
'openh264/codec/console/dec/src/d3d9_utils.cpp',
'openh264/codec/console/common/src/read_config.cpp'
])
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openh264", "codec", "console", "dec", "inc"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openh264", "codec", "console", "common", "inc"))
my_module.add_path("openh264/codec/console/dec/inc")
my_module.add_path("openh264/codec/console/common/inc")
my_module.compile_version("c++", 2003)
my_module.add_depend('openh264')
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import os
@ -19,14 +19,13 @@ def get_maintainer():
return ["HaiboZhu <haibozhu@cisco.com>"]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'openh264/codec/console/enc/src/welsenc.cpp',
'openh264/codec/console/common/src/read_config.cpp',
])
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openh264", "codec", "console", "enc", "inc"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "openh264", "codec", "console", "common", "inc"))
my_module.add_path("openh264/codec/console/enc/inc")
my_module.add_path("openh264/codec/console/common/inc")
my_module.compile_version("c++", 2003)
my_module.add_depend('openh264')
return my_module
return True

View File

@ -1,5 +1,5 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
@ -18,13 +18,12 @@ def get_maintainer():
def get_version():
return [1,6,0]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_depend([
'openh264-encoder',
'openh264-decoder',
'openh264-processing'
])
return my_module
return True