2013-06-24 21:46:07 +02:00
|
|
|
#!/usr/bin/python
|
2019-05-03 10:18:22 +02:00
|
|
|
import realog.debug as debug
|
2015-05-08 22:38:09 +02:00
|
|
|
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():
|
2017-01-05 21:28:23 +01:00
|
|
|
return "MPL-2"
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_compagny_type():
|
|
|
|
return "com"
|
|
|
|
|
|
|
|
def get_compagny_name():
|
|
|
|
return "atria-soft"
|
|
|
|
|
|
|
|
def get_maintainer():
|
2016-09-12 21:06:37 +02:00
|
|
|
return "authors.txt"
|
2015-10-14 21:21:03 +02:00
|
|
|
|
|
|
|
def get_version():
|
2016-09-12 21:06:37 +02:00
|
|
|
return "version.txt"
|
2013-12-23 22:38:46 +01:00
|
|
|
|
2016-10-04 23:41:29 +02:00
|
|
|
def configure(target, my_module):
|
2017-05-25 12:07:03 +02:00
|
|
|
my_module.add_extra_flags()
|
2016-09-08 21:35:02 +02:00
|
|
|
my_module.add_depend(['etk', 'exml'])
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_src_file([
|
2016-10-04 23:41:29 +02:00
|
|
|
'esvg/Base.cpp',
|
|
|
|
'esvg/Circle.cpp',
|
|
|
|
'esvg/debug.cpp',
|
|
|
|
'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/Text.cpp',
|
|
|
|
'esvg/cap.cpp',
|
|
|
|
'esvg/join.cpp',
|
|
|
|
'esvg/spreadMethod.cpp',
|
|
|
|
'esvg/gradientUnits.cpp',
|
|
|
|
'esvg/Dimension.cpp',
|
|
|
|
'esvg/render/Path.cpp',
|
|
|
|
'esvg/render/Element.cpp',
|
|
|
|
'esvg/render/ElementClose.cpp',
|
|
|
|
'esvg/render/ElementStop.cpp',
|
|
|
|
'esvg/render/ElementMoveTo.cpp',
|
|
|
|
'esvg/render/ElementLineTo.cpp',
|
|
|
|
'esvg/render/ElementLineToH.cpp',
|
|
|
|
'esvg/render/ElementLineToV.cpp',
|
|
|
|
'esvg/render/ElementCurveTo.cpp',
|
|
|
|
'esvg/render/ElementSmoothCurveTo.cpp',
|
|
|
|
'esvg/render/ElementBezierCurveTo.cpp',
|
|
|
|
'esvg/render/ElementBezierSmoothCurveTo.cpp',
|
|
|
|
'esvg/render/ElementElliptic.cpp',
|
|
|
|
'esvg/render/Point.cpp',
|
|
|
|
'esvg/render/PointList.cpp',
|
|
|
|
'esvg/render/Scanline.cpp',
|
|
|
|
'esvg/render/Segment.cpp',
|
|
|
|
'esvg/render/SegmentList.cpp',
|
|
|
|
'esvg/render/Weight.cpp',
|
|
|
|
'esvg/render/DynamicColor.cpp',
|
|
|
|
'esvg/LinearGradient.cpp',
|
|
|
|
'esvg/RadialGradient.cpp'
|
|
|
|
])
|
2015-09-14 21:11:04 +02:00
|
|
|
|
2015-09-24 21:44:04 +02:00
|
|
|
my_module.add_header_file([
|
2016-10-04 23:41:29 +02:00
|
|
|
'esvg/Base.hpp',
|
|
|
|
'esvg/Circle.hpp',
|
|
|
|
'esvg/Ellipse.hpp',
|
|
|
|
'esvg/Group.hpp',
|
|
|
|
'esvg/Line.hpp',
|
|
|
|
'esvg/esvg.hpp',
|
|
|
|
'esvg/Path.hpp',
|
|
|
|
'esvg/Polygon.hpp',
|
|
|
|
'esvg/Polyline.hpp',
|
|
|
|
'esvg/Rectangle.hpp',
|
|
|
|
'esvg/Renderer.hpp',
|
|
|
|
'esvg/Text.hpp',
|
|
|
|
'esvg/cap.hpp',
|
|
|
|
'esvg/join.hpp',
|
|
|
|
'esvg/spreadMethod.hpp',
|
|
|
|
'esvg/gradientUnits.hpp',
|
|
|
|
'esvg/Dimension.hpp',
|
|
|
|
'esvg/render/Element.hpp',
|
|
|
|
'esvg/render/ElementStop.hpp',
|
|
|
|
'esvg/render/ElementClose.hpp',
|
|
|
|
'esvg/render/ElementMoveTo.hpp',
|
|
|
|
'esvg/render/ElementLineTo.hpp',
|
|
|
|
'esvg/render/ElementLineToH.hpp',
|
|
|
|
'esvg/render/ElementLineToV.hpp',
|
|
|
|
'esvg/render/ElementCurveTo.hpp',
|
|
|
|
'esvg/render/ElementSmoothCurveTo.hpp',
|
|
|
|
'esvg/render/ElementBezierCurveTo.hpp',
|
|
|
|
'esvg/render/ElementBezierSmoothCurveTo.hpp',
|
|
|
|
'esvg/render/ElementElliptic.hpp',
|
|
|
|
'esvg/render/Path.hpp',
|
|
|
|
'esvg/render/Scanline.hpp',
|
|
|
|
'esvg/render/Point.hpp',
|
|
|
|
'esvg/render/PointList.hpp',
|
|
|
|
'esvg/render/Segment.hpp',
|
|
|
|
'esvg/render/SegmentList.hpp',
|
|
|
|
'esvg/render/Weight.hpp',
|
|
|
|
'esvg/render/DynamicColor.hpp',
|
|
|
|
'esvg/LinearGradient.hpp',
|
|
|
|
'esvg/RadialGradient.hpp'
|
|
|
|
])
|
2015-09-14 21:11:04 +02:00
|
|
|
|
2016-10-04 23:41:29 +02:00
|
|
|
my_module.add_path(".")
|
|
|
|
return True
|
2013-06-24 21:46:07 +02:00
|
|
|
|