2015-06-30 21:29:08 +02:00
|
|
|
#!/usr/bin/python
|
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
|
|
|
import datetime
|
2015-10-14 21:21:03 +02:00
|
|
|
import os
|
|
|
|
|
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "BINARY"
|
2015-06-30 21:29:08 +02:00
|
|
|
|
|
|
|
def get_desc():
|
|
|
|
return "Simpleaudio IO viewer and test ..."
|
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def get_licence():
|
|
|
|
return "APACHE-2"
|
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "com"
|
|
|
|
|
|
|
|
def get_compagny_name():
|
|
|
|
return "atria-soft"
|
|
|
|
|
|
|
|
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())
|
2016-09-07 22:05:42 +02:00
|
|
|
my_module.add_extra_flags()
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_src_file([
|
2015-06-30 21:29:08 +02:00
|
|
|
'appl/debug.cpp',
|
|
|
|
'appl/main.cpp',
|
|
|
|
'appl/Windows.cpp'])
|
2016-09-07 22:05:42 +02:00
|
|
|
my_module.add_depend(['ewol', 'audio-river', 'audio-river-widget'])
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_path(tools.get_current_path(__file__))
|
2015-06-30 21:29:08 +02:00
|
|
|
# set the package properties :
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.pkg_set("VERSION", "1.0.0")
|
|
|
|
my_module.pkg_set("VERSION_CODE", "1")
|
|
|
|
my_module.pkg_set("COMPAGNY_TYPE", "org")
|
|
|
|
my_module.pkg_set("COMPAGNY_NAME", "Edouard DUPIN")
|
|
|
|
my_module.pkg_set("MAINTAINER", ["Mr DUPIN Edouard <yui.heero@gmail.com>"])
|
|
|
|
my_module.pkg_set("SECTION", ["Development"])
|
|
|
|
my_module.pkg_set("PRIORITY", "optional")
|
|
|
|
my_module.pkg_set("DESCRIPTION", "Simple wiewer")
|
|
|
|
my_module.pkg_set("NAME", "ioViewer")
|
2015-06-30 21:29:08 +02:00
|
|
|
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.pkg_add("RIGHT", "RECORD_AUDIO")
|
|
|
|
return my_module
|
2015-06-30 21:29:08 +02:00
|
|
|
|