1
0
Fork 0
gedit/plugins/spell/meson.build
Daniel Baumann 61eec86fe3
Adding upstream version 48.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 19:48:29 +02:00

43 lines
929 B
Meson

plugin_spell_sources = files(
'gedit-spell-app-activatable.c',
'gedit-spell-plugin.c',
)
subdir('resources')
shared_module(
'spell',
sources: plugin_spell_sources,
include_directories: root_include_dir,
dependencies: [libgedit_dep, gspell_dep],
install: true,
install_dir: get_option('libdir') / 'gedit/plugins',
name_suffix: module_suffix,
)
plugin_spell_gschema_file = files('org.gnome.gedit.plugins.spell.gschema.xml')
install_data(
plugin_spell_gschema_file,
install_dir: get_option('datadir') / 'glib-2.0/schemas',
)
if xmllint.found()
test(
'validate-spell-gschema',
xmllint,
args: [
'--noout',
'--dtdvalid', gschema_dtd,
plugin_spell_gschema_file,
]
)
endif
custom_target(
'spell.plugin',
input: 'spell.plugin.desktop.in',
output: 'spell.plugin',
command: msgfmt_plugin_cmd,
install: true,
install_dir: get_option('libdir') / 'gedit/plugins',
)