diff options
author | zhuyaliang <[email protected]> | 2021-07-25 11:52:47 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-07-30 19:02:49 +0200 |
commit | 8dca108a6a4bed0b3411e41cb04b143c71036b67 (patch) | |
tree | 35632a66e2d50c89a690e5202a2e0ff56e7285b6 /data/meson.build | |
parent | a1216168706c08384154d3cea579d223fdc9e81d (diff) | |
download | mate-calc-8dca108a6a4bed0b3411e41cb04b143c71036b67.tar.bz2 mate-calc-8dca108a6a4bed0b3411e41cb04b143c71036b67.tar.xz |
Add build support for meson
Diffstat (limited to 'data/meson.build')
-rw-r--r-- | data/meson.build | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 0000000..538b26a --- /dev/null +++ b/data/meson.build @@ -0,0 +1,30 @@ +# Desktop file +i18n.merge_file( + input: 'mate-calc.desktop.in', + output: 'mate-calc.desktop', + type: 'desktop', + po_dir: po_dir, + install: true, + install_dir: join_paths(get_option('datadir'), 'applications'), +) + +# Appdata +i18n.merge_file( + input: 'mate-calc.appdata.xml.in', + output: 'mate-calc.appdata.xml', + type: 'xml', + po_dir: po_dir, + install: true, + install_dir: join_paths(get_option('datadir'), 'metainfo') +) + +# Gschema + install_data('org.mate.calc.gschema.xml', + install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas'), + ) + +# Manpage +install_man( + 'mate-calc-cmd.1', + 'mate-calc.1' +) |