[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 6a2e12c2ad
commit abc2ce6a49
6 changed files with 69 additions and 70 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
@ -24,12 +24,16 @@ def get_compagny_name():
def get_maintainer():
return "authors.txt"
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'test/main.cpp'
])
my_module.add_depend(['audio-river', 'gtest', 'etk', 'test-debug'])
return my_module
'test/main.cpp'
])
my_module.add_depend([
'audio-river',
'gtest',
'etk',
'test-debug'
])
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
@ -24,29 +24,28 @@ def get_maintainer():
def get_version():
return "version.txt"
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_src_file([
'audio/river/debug.cpp',
'audio/river/river.cpp',
'audio/river/Manager.cpp',
'audio/river/Interface.cpp',
'audio/river/io/Group.cpp',
'audio/river/io/Node.cpp',
'audio/river/io/NodeOrchestra.cpp',
'audio/river/io/NodePortAudio.cpp',
'audio/river/io/NodeAEC.cpp',
'audio/river/io/NodeMuxer.cpp',
'audio/river/io/Manager.cpp'
])
'audio/river/debug.cpp',
'audio/river/river.cpp',
'audio/river/Manager.cpp',
'audio/river/Interface.cpp',
'audio/river/io/Group.cpp',
'audio/river/io/Node.cpp',
'audio/river/io/NodeOrchestra.cpp',
'audio/river/io/NodePortAudio.cpp',
'audio/river/io/NodeAEC.cpp',
'audio/river/io/NodeMuxer.cpp',
'audio/river/io/Manager.cpp'
])
my_module.add_header_file([
'audio/river/river.hpp',
'audio/river/Manager.hpp',
'audio/river/Interface.hpp',
'audio/river/io/Group.hpp',
'audio/river/io/Node.hpp',
'audio/river/io/Manager.hpp'
])
'audio/river/river.hpp',
'audio/river/Manager.hpp',
'audio/river/Interface.hpp',
'audio/river/io/Group.hpp',
'audio/river/io/Node.hpp',
'audio/river/io/Manager.hpp'
])
my_module.add_optionnal_depend('audio-orchestra', ["c++", "-DAUDIO_RIVER_BUILD_ORCHESTRA"])
my_module.add_optionnal_depend('portaudio', ["c++", "-DAUDIO_RIVER_BUILD_PORTAUDIO"])
my_module.add_depend([
@ -54,8 +53,8 @@ def create(target, module_name):
'audio-drain',
'ejson'
])
my_module.add_path(tools.get_current_path(__file__))
return my_module
my_module.add_path(".")
return True

View File

@ -1,7 +1,6 @@
#!/usr/bin/python
import lutin.module as module
import lutin.debug as debug
import lutin.tools as tools
import datetime
import os
@ -23,26 +22,18 @@ def get_compagny_name():
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.com>"]
def create(target, module_name):
my_module = module.Module(__file__, module_name, get_type())
def configure(target, my_module):
my_module.add_extra_flags()
my_module.add_src_file([
'appl/debug.cpp',
'appl/main.cpp',
'appl/Windows.cpp'])
my_module.add_depend(['ewol', 'audio-river', 'audio-river-widget'])
my_module.add_path(tools.get_current_path(__file__))
my_module.add_path(".")
# set the package properties :
my_module.set_pkg("VERSION", "1.0.0")
my_module.set_pkg("VERSION_CODE", "1")
my_module.set_pkg("COMPAGNY_TYPE", "org")
my_module.set_pkg("COMPAGNY_NAME", "Edouard DUPIN")
my_module.set_pkg("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
my_module.set_pkg("SECTION", ["Development"])
my_module.set_pkg("PRIORITY", "optional")
my_module.set_pkg("DESCRIPTION", "Simple wiewer")
my_module.set_pkg("NAME", "ioViewer")
my_module.add_pkg("RIGHT", "RECORD_AUDIO")
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
@ -24,13 +24,15 @@ def get_compagny_name():
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.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([
'read.cpp',
])
my_module.add_depend(['audio-river', 'etk'])
return my_module
'read.cpp',
])
my_module.add_depend([
'audio-river',
'etk'
])
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
@ -24,13 +24,15 @@ def get_compagny_name():
def get_maintainer():
return ["Mr DUPIN Edouard <yui.heero@gmail.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([
'write.cpp',
])
my_module.add_depend(['audio-river', 'etk'])
return my_module
'write.cpp',
])
my_module.add_depend([
'audio-river',
'etk'
])
return True

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
@ -26,17 +25,19 @@ def get_maintainer():
def get_version():
return [0,0,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([
'audio/river/widget/TemporalViewer.cpp',
'audio/river/widget/debug.cpp'
])
'audio/river/widget/TemporalViewer.cpp',
'audio/river/widget/debug.cpp'
])
my_module.add_header_file([
'audio/river/widget/TemporalViewer.hpp'
])
my_module.add_depend(['ewol', 'audio-river'])
my_module.add_path(tools.get_current_path(__file__))
return my_module
'audio/river/widget/TemporalViewer.hpp'
])
my_module.add_depend([
'ewol',
'audio-river'
])
my_module.add_path(".")
return True