From b1f21edcec82c25cbd6b59b521a841f86fb1f327 Mon Sep 17 00:00:00 2001 From: Oz Tiram Date: Sun, 30 Mar 2025 15:20:05 +0200 Subject: Initial support for meson Mostly copy and paste from linuxmint/xreader Signed-off-by: Oz Tiram --- help/reference/libview/meson.build | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 help/reference/libview/meson.build (limited to 'help/reference/libview/meson.build') diff --git a/help/reference/libview/meson.build b/help/reference/libview/meson.build new file mode 100644 index 00000000..cc7e546c --- /dev/null +++ b/help/reference/libview/meson.build @@ -0,0 +1,31 @@ +version_conf = configuration_data() +version_conf.set('VERSION', version) + +version_xml = configure_file( + input: 'version.xml.in', + output: 'version.xml', + configuration: version_conf, +) + +libview_doc_deps = declare_dependency( + include_directories: [include_root, libdoc_include, libview_include, include_directories('.')], + link_with: libview, + dependencies: libdoc_deps, +) + +gnome.gtkdoc( + 'libxreaderview', + mode: 'xml', + main_xml: 'libxreaderview-docs.xml', + gobject_typesfile: files('libxreaderview.types'), + src_dir: [ + join_paths(meson.source_root(), 'libview'), + ], + ignore_headers: [libview_private_headers], + dependencies: libview_doc_deps, + mkdb_args: ['--xml-mode', '--output-format=xml', '--name-space=ev'], + cflags: '-DATRIL_COMPILATION', + fixxref_args: fixref_args, + install: true, + install_dir: 'libxreaderview-' + api_version, +) -- cgit v1.2.1