1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
libdrawspaces_sources = files(
'gedit-drawspaces-app-activatable.c',
'gedit-drawspaces-view-activatable.c',
)
libdrawspaces_deps = [
gedit_dep,
]
libdrawspaces_sha = shared_module(
'drawspaces',
sources: libdrawspaces_sources,
include_directories: root_include_dir,
dependencies: libdrawspaces_deps,
install: true,
install_dir: join_paths(
pkglibdir,
'plugins',
)
)
drawspaces_plugin_in = configure_file(
input: 'drawspaces.plugin.desktop.in.in',
output: 'drawspaces.plugin.desktop.in',
configuration: plugin_in,
install: false,
)
drawspaces_plugin = custom_target(
'drawspaces.plugin',
input: drawspaces_plugin_in,
output: 'drawspaces.plugin',
command: msgfmt_plugin_cmd,
install: true,
install_dir: join_paths(
pkglibdir,
'plugins',
)
)
install_data(
'org.gnome.gedit.plugins.drawspaces.gschema.xml',
install_dir: join_paths(
glibdir,
'schemas',
)
)
drawspaces_metainfo = i18n.merge_file(
input: 'gedit-drawspaces.metainfo.xml.in',
output: 'gedit-drawspaces.metainfo.xml',
po_dir: join_paths(srcdir, 'po'),
type: 'xml',
install: true,
install_dir: appstreamdir,
)
if appstream_util.found()
test(
'validate-gedit-drawspaces.metainfo.xml',
appstream_util,
args: [
'validate-relax',
'--nonet',
drawspaces_metainfo.full_path(),
]
)
endif
|