summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>2018-03-16 22:49:46 +0000
committerFelipe CorrĂȘa da Silva Sanches <juca@members.fsf.org>2018-03-17 20:54:37 +0000
commit2ce299780dd1509517f26e4690ee96741751adf7 (patch)
treea9aa5b95e77ffc0dd4d9f6fb356a969390f61e2a /src
parent[meson-build] libsvg (diff)
downloadinkscape-2ce299780dd1509517f26e4690ee96741751adf7.tar.gz
inkscape-2ce299780dd1509517f26e4690ee96741751adf7.zip
[meson-build] live path effects
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/meson.build194
-rw-r--r--src/meson.build1
-rw-r--r--src/object/meson.build1
3 files changed, 196 insertions, 0 deletions
diff --git a/src/live_effects/meson.build b/src/live_effects/meson.build
new file mode 100644
index 000000000..e8e04cd05
--- /dev/null
+++ b/src/live_effects/meson.build
@@ -0,0 +1,194 @@
+lpe_sources = files([
+ 'effect.cpp',
+ 'lpe-angle_bisector.cpp',
+ 'lpe-attach-path.cpp',
+ 'lpe-bendpath.cpp',
+ 'lpe-bool.cpp',
+ 'lpe-bounding-box.cpp',
+ 'lpe-bspline.cpp',
+ 'lpe-circle_3pts.cpp',
+ 'lpe-transform_2pts.cpp',
+ 'lpe-circle_with_radius.cpp',
+ 'lpe-clone-original.cpp',
+ 'lpe-constructgrid.cpp',
+ 'lpe-copy_rotate.cpp',
+ 'lpe-curvestitch.cpp',
+ 'lpe-dynastroke.cpp',
+ 'lpe-ellipse_5pts.cpp',
+ 'lpe-embrodery-stitch.cpp',
+ 'lpe-embrodery-stitch-ordering.cpp',
+ 'lpe-envelope.cpp',
+ 'lpe-extrude.cpp',
+ 'lpe-fill-between-many.cpp',
+ 'lpe-fill-between-strokes.cpp',
+ 'lpe-fillet-chamfer.cpp',
+ 'lpe-gears.cpp',
+ 'lpe-interpolate.cpp',
+ 'lpe-interpolate_points.cpp',
+ 'lpe-jointype.cpp',
+ 'lpe-knot.cpp',
+ 'lpe-lattice.cpp',
+ 'lpe-lattice2.cpp',
+ 'lpe-line_segment.cpp',
+ 'lpe-measure-segments.cpp',
+ 'lpe-mirror_symmetry.cpp',
+ 'lpe-offset.cpp',
+ 'lpe-parallel.cpp',
+ 'lpe-path_length.cpp',
+ 'lpe-patternalongpath.cpp',
+ 'lpe-perp_bisector.cpp',
+ 'lpe-perspective-envelope.cpp',
+ 'lpe-perspective_path.cpp',
+ 'lpe-powerclip.cpp',
+ 'lpe-powermask.cpp',
+ 'lpe-powerstroke.cpp',
+ 'lpe-recursiveskeleton.cpp',
+ 'lpe-rough-hatches.cpp',
+ 'lpe-roughen.cpp',
+ 'lpe-ruler.cpp',
+ 'lpe-show_handles.cpp',
+ 'lpe-simplify.cpp',
+ 'lpe-skeleton.cpp',
+ 'lpe-sketch.cpp',
+ 'lpe-spiro.cpp',
+ 'lpe-tangent_to_curve.cpp',
+ 'lpe-taperstroke.cpp',
+ 'lpe-test-doEffect-stack.cpp',
+ 'lpe-text_label.cpp',
+ 'lpegroupbbox.cpp',
+ 'lpeobject-reference.cpp',
+ 'lpe-vonkoch.cpp',
+ 'lpeobject.cpp',
+ 'spiro-converters.cpp',
+ 'spiro.cpp',
+ 'lpe-pts2ellipse.cpp',
+ 'parameter/array.cpp',
+ 'parameter/bool.cpp',
+ 'parameter/colorpicker.cpp',
+ 'parameter/hidden.cpp',
+ 'parameter/item-reference.cpp',
+ 'parameter/item.cpp',
+ 'parameter/message.cpp',
+ 'parameter/originalitemarray.cpp',
+ 'parameter/originalitem.cpp',
+ 'parameter/originalpath.cpp',
+ 'parameter/originalpatharray.cpp',
+ 'parameter/parameter.cpp',
+ 'parameter/path-reference.cpp',
+ 'parameter/path.cpp',
+ 'parameter/point.cpp',
+ 'parameter/powerstrokepointarray.cpp',
+ 'parameter/random.cpp',
+ 'parameter/satellitesarray.cpp',
+ 'parameter/text.cpp',
+ 'parameter/fontbutton.cpp',
+ 'parameter/togglebutton.cpp',
+ 'parameter/transformedpoint.cpp',
+ 'parameter/unit.cpp',
+ 'parameter/vector.cpp'
+])
+
+lpe_headers = files([
+ 'effect-enum.h',
+ 'effect.h',
+ 'lpe-angle_bisector.h',
+ 'lpe-attach-path.h',
+ 'lpe-bendpath.h',
+ 'lpe-bool.h',
+ 'lpe-bounding-box.h',
+ 'lpe-bspline.h',
+ 'lpe-circle_3pts.h',
+ 'lpe-transform_2pts.h',
+ 'lpe-circle_with_radius.h',
+ 'lpe-clone-original.h',
+ 'lpe-constructgrid.h',
+ 'lpe-copy_rotate.h',
+ 'lpe-curvestitch.h',
+ 'lpe-dynastroke.h',
+ 'lpe-ellipse_5pts.h',
+ 'lpe-embrodery-stitch.h',
+ 'lpe-embrodery-stitch-ordering.h',
+ 'lpe-envelope.h',
+ 'lpe-extrude.h',
+ 'lpe-fill-between-many.h',
+ 'lpe-fill-between-strokes.h',
+ 'lpe-fillet-chamfer.h',
+ 'lpe-gears.h',
+ 'lpe-interpolate.h',
+ 'lpe-interpolate_points.h',
+ 'lpe-jointype.h',
+ 'lpe-knot.h',
+ 'lpe-lattice.h',
+ 'lpe-lattice2.h',
+ 'lpe-line_segment.h',
+ 'lpe-measure-segments.h',
+ 'lpe-mirror_symmetry.h',
+ 'lpe-offset.h',
+ 'lpe-parallel.h',
+ 'lpe-path_length.h',
+ 'lpe-patternalongpath.h',
+ 'lpe-perp_bisector.h',
+ 'lpe-perspective-envelope.h',
+ 'lpe-perspective_path.h',
+ 'lpe-powerstroke-interpolators.h',
+ 'lpe-powerclip.h',
+ 'lpe-powermask.h',
+ 'lpe-powerstroke.h',
+ 'lpe-recursiveskeleton.h',
+ 'lpe-rough-hatches.h',
+ 'lpe-roughen.h',
+ 'lpe-ruler.h',
+ 'lpe-show_handles.h',
+ 'lpe-simplify.h',
+ 'lpe-skeleton.h',
+ 'lpe-sketch.h',
+ 'lpe-spiro.h',
+ 'lpe-tangent_to_curve.h',
+ 'lpe-taperstroke.h',
+ 'lpe-test-doEffect-stack.h',
+ 'lpe-text_label.h',
+ 'lpe-vonkoch.h',
+ 'lpegroupbbox.h',
+ 'lpeobject-reference.h',
+ 'lpeobject.h',
+ 'spiro-converters.h',
+ 'spiro.h',
+ 'lpe-pts2ellipse.h',
+ 'parameter/array.h',
+ 'parameter/bool.h',
+ 'parameter/colorpicker.h',
+ 'parameter/hidden.h',
+ 'parameter/enum.h',
+ 'parameter/item.h',
+ 'parameter/message.h',
+ 'parameter/item-reference.h',
+ 'parameter/originalitem.h',
+ 'parameter/originalpath.h',
+ 'parameter/originalpatharray.h',
+ 'parameter/parameter.h',
+ 'parameter/path-reference.h',
+ 'parameter/path.h',
+ 'parameter/point.h',
+ 'parameter/powerstrokepointarray.h',
+ 'parameter/random.h',
+ 'parameter/satellitesarray.h',
+ 'parameter/text.h',
+ 'parameter/fontbutton.h',
+ 'parameter/togglebutton.h',
+ 'parameter/transformedpoint.h',
+ 'parameter/unit.h',
+ 'parameter/vector.h'
+])
+
+lpe_deps = [
+ gtkmm_dep,
+ xml2_dep
+]
+
+liblpe = static_library('liblpe',
+ sources: [lpe_sources,
+ lpe_headers],
+ dependencies: lpe_deps,
+ include_directories: [srcinc, confinc])
+
+liblpe_dep = declare_dependency(link_with : liblpe)
diff --git a/src/meson.build b/src/meson.build
index 507c4d25e..b0e35743f 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -19,6 +19,7 @@
subdir('debug')
subdir('svg')
+subdir('live_effects')
subdir('libavoid')
subdir('libvpsc') #libcola depends on libvpsc, so here the order matters
subdir('libcola')
diff --git a/src/object/meson.build b/src/object/meson.build
index 2c464a421..77d6b1814 100644
--- a/src/object/meson.build
+++ b/src/object/meson.build
@@ -183,6 +183,7 @@ spobject_deps = [
xml2_dep,
gdkmm_dep,
libhelper_dep,
+ liblpe_dep,
libspobject_filters_dep
]