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
|
install_data(
join_paths('icons', 'scalable', meson.project_name() + '.svg'),
install_dir: join_paths(get_option('datadir'), 'icons', 'hicolor', 'scalable', 'apps')
)
i18n.merge_file(
input: meson.project_name() + '.desktop.in',
output: meson.project_name() + '.desktop',
po_dir: join_paths(meson.project_source_root(), 'po', 'extra'),
type: 'desktop',
install: true,
install_dir: join_paths(get_option('datadir'), 'applications')
)
i18n.merge_file(
input: meson.project_name() + '.appdata.xml.in',
output: meson.project_name() + '.appdata.xml',
po_dir: join_paths(meson.project_source_root(), 'po', 'extra'),
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo')
)
install_data(
meson.project_name() + '.gschema.xml',
install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas')
)
install_data(
meson.project_name() + '.xml',
install_dir: join_paths(get_option('datadir'), 'mime', 'packages')
)
install_data(
join_paths('styles', meson.project_name() + '.color.xml'),
join_paths('styles', meson.project_name() + '.none.xml'),
install_dir: join_paths(get_option('datadir'), 'minder', 'gtksourceview-4', 'styles')
)
install_data(
join_paths('language-specs', meson.project_name() + '-markdown.lang'),
install_dir: join_paths(get_option('datadir'), 'minder', 'gtksourceview-4', 'language-specs')
)
|