2013-06-24 21:46:07 +02:00
|
|
|
#!/usr/bin/python
|
2015-05-08 22:38:09 +02:00
|
|
|
import lutin.module as module
|
|
|
|
import lutin.tools as tools
|
2013-06-24 21:46:07 +02:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_type():
|
|
|
|
return "LIBRARY"
|
|
|
|
|
2013-12-23 22:38:46 +01:00
|
|
|
def get_desc():
|
2015-10-14 21:21:03 +02:00
|
|
|
return "SVG image parser and generator"
|
|
|
|
|
|
|
|
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 get_version():
|
2015-11-09 21:55:52 +01:00
|
|
|
return [0,6,"dev"]
|
2013-12-23 22:38:46 +01:00
|
|
|
|
2015-10-14 21:21:03 +02:00
|
|
|
def create(target, module_name):
|
|
|
|
my_module = module.Module(__file__, module_name, get_type())
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_module_depend(['etk', 'agg', 'exml'])
|
|
|
|
my_module.add_src_file([
|
2013-06-24 21:46:07 +02:00
|
|
|
'esvg/Base.cpp',
|
|
|
|
'esvg/Circle.cpp',
|
2013-10-25 20:48:12 +02:00
|
|
|
'esvg/debug.cpp',
|
2013-06-24 21:46:07 +02:00
|
|
|
'esvg/Ellipse.cpp',
|
|
|
|
'esvg/Group.cpp',
|
|
|
|
'esvg/Line.cpp',
|
|
|
|
'esvg/esvg.cpp',
|
|
|
|
'esvg/Path.cpp',
|
|
|
|
'esvg/Polygon.cpp',
|
|
|
|
'esvg/Polyline.cpp',
|
|
|
|
'esvg/Rectangle.cpp',
|
|
|
|
'esvg/Renderer.cpp',
|
|
|
|
'esvg/Stroking.cpp',
|
2015-09-14 21:11:04 +02:00
|
|
|
'esvg/Text.cpp'
|
|
|
|
])
|
|
|
|
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_header_file([
|
2015-09-14 21:11:04 +02:00
|
|
|
'esvg/Base.h',
|
|
|
|
'esvg/Circle.h',
|
|
|
|
'esvg/Ellipse.h',
|
|
|
|
'esvg/Group.h',
|
|
|
|
'esvg/Line.h',
|
|
|
|
'esvg/esvg.h',
|
|
|
|
'esvg/Path.h',
|
|
|
|
'esvg/Polygon.h',
|
|
|
|
'esvg/Polyline.h',
|
|
|
|
'esvg/Rectangle.h',
|
|
|
|
'esvg/Renderer.h',
|
|
|
|
'esvg/Stroking.h',
|
|
|
|
'esvg/Text.h'
|
|
|
|
])
|
|
|
|
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_path(tools.get_current_path(__file__))
|
|
|
|
return my_module
|
2013-06-24 21:46:07 +02:00
|
|
|
|