diff options
| author | Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org> | 2018-03-16 18:58:15 +0000 |
|---|---|---|
| committer | Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org> | 2018-03-17 20:54:37 +0000 |
| commit | a4648498b762d677ce02227834a8f716713106a9 (patch) | |
| tree | ca3c56847ef6ccff1159f01356d36e81714a5fc8 /src | |
| parent | [meson-build] libsrcdir (diff) | |
| download | inkscape-a4648498b762d677ce02227834a8f716713106a9.tar.gz inkscape-a4648498b762d677ce02227834a8f716713106a9.zip | |
[meson-build] livarot
Diffstat (limited to 'src')
| -rw-r--r-- | src/libnrtype/meson.build | 3 | ||||
| -rw-r--r-- | src/livarot/meson.build | 55 | ||||
| -rw-r--r-- | src/meson.build | 2 |
3 files changed, 58 insertions, 2 deletions
diff --git a/src/libnrtype/meson.build b/src/libnrtype/meson.build index 5dfe4bce4..a5907c447 100644 --- a/src/libnrtype/meson.build +++ b/src/libnrtype/meson.build @@ -25,7 +25,8 @@ layout_tng_deps = [ gtkmm_dep, xml2_dep, pangoft2_dep, - harfbuzz_dep + harfbuzz_dep, + liblivarot_dep ] libnrtype = static_library('nrtype', diff --git a/src/livarot/meson.build b/src/livarot/meson.build new file mode 100644 index 000000000..fd7689d35 --- /dev/null +++ b/src/livarot/meson.build @@ -0,0 +1,55 @@ +livarot_sources = files([ + 'AlphaLigne.cpp', + 'AVL.cpp', + 'BitLigne.cpp', + 'float-line.cpp', + 'int-line.cpp', + 'PathConversion.cpp', + 'Path.cpp', + 'PathCutting.cpp', + 'path-description.cpp', + 'PathOutline.cpp', + 'PathSimplify.cpp', + 'PathStroke.cpp', + 'Shape.cpp', + 'ShapeDraw.cpp', + 'ShapeMisc.cpp', + 'ShapeRaster.cpp', + 'ShapeSweep.cpp', + 'sweep-event.cpp', + 'sweep-tree.cpp', + 'sweep-tree-list.cpp' +]) + +livarot_headers = files([ + 'AVL.h', + 'AlphaLigne.h', + 'BitLigne.h', + 'Livarot.h', + 'LivarotDefs.h', + 'Path.h', + 'Shape.h', + 'float-line.h', + 'int-line.h', + 'path-description.h', + 'sweep-event-queue.h', + 'sweep-event.h', + 'sweep-tree-list.h', + 'sweep-tree.h' +]) + +livarot_deps = [ + glib_dep, + glibmm_dep, + gdk_dep, + xml2_dep, + sigcpp_dep +] + +lib_livarot = static_library('livarot', + sources: [livarot_sources, + livarot_headers], + dependencies: livarot_deps, + include_directories: [srcinc, confinc]) + +liblivarot_dep = declare_dependency(link_with : lib_livarot) diff --git a/src/meson.build b/src/meson.build index b7d560209..91a9550ba 100644 --- a/src/meson.build +++ b/src/meson.build @@ -18,12 +18,12 @@ #add_subdirectory(libcroco) #add_subdirectory(libuemf) #add_subdirectory(libvpsc) -#add_subdirectory(livarot) #add_subdirectory(libdepixelize) subdir('2geom') subdir('helper') subdir('inkgc') +subdir('livarot') #libnrtype depends on livarot, so here the order mathers subdir('libnrtype') subdir('object') subdir('ui') |
