[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',
@ -41,7 +40,7 @@ def create(target, module_name):
'openh264/codec/decoder/core/src/decode_slice.cpp',
'openh264/codec/decoder/core/src/get_intra_predictor.cpp',
'openh264/codec/decoder/plus/src/welsDecoderExt.cpp',
])
])
if target.config["arch"] == "arm":
if target.config["bus-size"] == "64":
my_module.add_src_file([
@ -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,12 +85,11 @@ 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="")
],
destination_path="")
my_module.compile_version("C++", 2003)
my_module.add_depend([
'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',
@ -54,7 +53,7 @@ def create(target, module_name):
'openh264/codec/encoder/core/src/md.cpp',
# 'openh264/codec/encoder/plus/src/DllEntry.cpp',
'openh264/codec/encoder/plus/src/welsEncoderExt.cpp',
])
])
if target.config["arch"] == "arm":
if target.config["bus-size"] == "64":
my_module.add_src_file([
@ -125,11 +124,11 @@ def create(target, module_name):
'openh264/codec/encoder/core/inc/paraset_strategy.h',
'openh264/codec/encoder/core/inc/svc_mode_decision.h',
'openh264/codec/encoder/plus/inc/welsEncoderExt.h',
],
destination_path="")
],
destination_path="")
my_module.compile_version("C++", 2003)
my_module.add_depend([
'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',
@ -38,7 +37,7 @@ def create(target, module_name):
'openh264/codec/processing/src/scrolldetection/ScrollDetectionFuncs.cpp',
'openh264/codec/processing/src/scrolldetection/ScrollDetection.cpp',
'openh264/codec/processing/src/complexityanalysis/ComplexityAnalysis.cpp',
])
])
if target.config["arch"] == "arm":
if target.config["bus-size"] == "64":
my_module.add_src_file([
@ -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="")
],
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