diff options
| author | Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org> | 2018-03-17 00:21:18 +0000 |
|---|---|---|
| committer | Felipe CorrĂȘa da Silva Sanches <juca@members.fsf.org> | 2018-03-17 20:54:37 +0000 |
| commit | 7e2075cddeb016486459d0fe70c6153d9d445f38 (patch) | |
| tree | 3470bd13e70ecfeb2a26d0225892f6f205ac7235 /src | |
| parent | [meson-build] libx11 (diff) | |
| download | inkscape-7e2075cddeb016486459d0fe70c6153d9d445f38.tar.gz inkscape-7e2075cddeb016486459d0fe70c6153d9d445f38.zip | |
[meson-build] libcroco
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcroco/meson.build | 74 | ||||
| -rw-r--r-- | src/meson.build | 7 | ||||
| -rw-r--r-- | src/object/meson.build | 1 |
3 files changed, 76 insertions, 6 deletions
diff --git a/src/libcroco/meson.build b/src/libcroco/meson.build new file mode 100644 index 000000000..ffd4734aa --- /dev/null +++ b/src/libcroco/meson.build @@ -0,0 +1,74 @@ +libcroco_sources = files([ + 'cr-additional-sel.c', + 'cr-attr-sel.c', + 'cr-cascade.c', + 'cr-declaration.c', + 'cr-doc-handler.c', + 'cr-enc-handler.c', + 'cr-fonts.c', + 'cr-input.c', + 'cr-libxml-node-iface.c', + 'cr-num.c', + 'cr-om-parser.c', + 'cr-parser.c', + 'cr-parsing-location.c', + 'cr-prop-list.c', + 'cr-pseudo.c', + 'cr-rgb.c', + 'cr-selector.c', + 'cr-sel-eng.c', + 'cr-simple-sel.c', + 'cr-statement.c', + 'cr-string.c', + 'cr-style.c', + 'cr-stylesheet.c', + 'cr-term.c', + 'cr-tknzr.c', + 'cr-token.c', + 'cr-utils.c' +]) + +libcroco_headers = files([ + 'cr-additional-sel.h', + 'cr-attr-sel.h', + 'cr-cascade.h', + 'cr-declaration.h', + 'cr-doc-handler.h', + 'cr-enc-handler.h', + 'cr-fonts.h', + 'cr-input.h', + 'cr-libxml-node-iface.h', + 'cr-node-iface.h', + 'cr-num.h', + 'cr-om-parser.h', + 'cr-parser.h', + 'cr-parsing-location.h', + 'cr-prop-list.h', + 'cr-pseudo.h', + 'cr-rgb.h', + 'cr-sel-eng.h', + 'cr-selector.h', + 'cr-simple-sel.h', + 'cr-statement.h', + 'cr-string.h', + 'cr-style.h', + 'cr-stylesheet.h', + 'cr-term.h', + 'cr-tknzr.h', + 'cr-token.h', + 'cr-utils.h', + 'libcroco.h' +]) + +libcroco_deps = [ + glib_dep, + xml2_dep +] + +libcroco = static_library('libcroco', + sources: [libcroco_sources, + libcroco_headers], + dependencies: libcroco_deps, + include_directories: [srcinc, confinc]) + +libcroco_dep = declare_dependency(link_with : libcroco) diff --git a/src/meson.build b/src/meson.build index 1d1408ba4..942a67607 100644 --- a/src/meson.build +++ b/src/meson.build @@ -1,11 +1,5 @@ -# All folders for internal inkscape -# these call add_inkscape_source #add_subdirectory(extension) #add_subdirectory(trace) -#add_subdirectory(widgets) - -# Directories containing lists files that describe building internal libraries -#add_subdirectory(libcroco) #add_subdirectory(libuemf) #add_subdirectory(libdepixelize) @@ -15,6 +9,7 @@ subdir('io') subdir('util') subdir('svg') subdir('live_effects') +subdir('libcroco') 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 77d6b1814..48dc1b0c8 100644 --- a/src/object/meson.build +++ b/src/object/meson.build @@ -184,6 +184,7 @@ spobject_deps = [ gdkmm_dep, libhelper_dep, liblpe_dep, + libcroco_dep, libspobject_filters_dep ] |
