summaryrefslogtreecommitdiff
path: root/data/meson.build
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-05-11 00:42:21 +0800
committerraveit65 <[email protected]>2019-05-21 09:16:57 +0200
commitd98d60a74976e544c2a844f41dd00db9d9ac999a (patch)
tree8de0408116be4acb09c0769132c25c4c2c71aac2 /data/meson.build
parent2beed2049f2822066eb2c571aa289f7a2a9f2dc5 (diff)
downloadmozo-d98d60a74976e544c2a844f41dd00db9d9ac999a.tar.bz2
mozo-d98d60a74976e544c2a844f41dd00db9d9ac999a.tar.xz
use meson to build
Diffstat (limited to 'data/meson.build')
-rw-r--r--data/meson.build21
1 files changed, 21 insertions, 0 deletions
diff --git a/data/meson.build b/data/meson.build
new file mode 100644
index 0000000..f471366
--- /dev/null
+++ b/data/meson.build
@@ -0,0 +1,21 @@
+subdir('icons')
+
+desktop_in = configuration_data()
+desktop_in.set('VERSION', meson.project_version())
+
+desktop_file = 'mozo.desktop'
+i18n.merge_file(desktop_file,
+ input: configure_file(
+ input: desktop_file + '.in.in',
+ output: desktop_file + '.in',
+ configuration : desktop_in,
+ ),
+ output: desktop_file,
+ po_dir: join_paths(meson.source_root(), 'po'),
+ type: 'desktop',
+ install: true,
+ install_dir : join_paths(datadir, 'applications')
+ )
+
+install_man('mozo.1')
+install_data('mozo.ui', install_dir: join_paths(datadir, meson.project_name()))