summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authormbkma <[email protected]>2026-03-22 10:22:39 +0100
committermbkma <[email protected]>2026-03-22 11:29:10 +0100
commita0d5f9ed8a7263374fd1bd23d96e5378389774b6 (patch)
tree0ece01da494fa7390af6491e8e0637453054b7a3 /meson.build
parent1da9870155719d855fd691570cee849b24801f6b (diff)
downloadmate-user-guide-meson.tar.bz2
mate-user-guide-meson.tar.xz
add meson supportmeson
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build29
1 files changed, 29 insertions, 0 deletions
diff --git a/meson.build b/meson.build
new file mode 100644
index 0000000..3233fda
--- /dev/null
+++ b/meson.build
@@ -0,0 +1,29 @@
+project(
+ 'mate-user-guide',
+ meson_version: '>= 0.61.2',
+ version: '1.28.0',
+)
+
+gnome = import('gnome')
+i18n = import('i18n')
+
+if get_option('nls')
+ subdir('po')
+endif
+
+desktop_in = configure_file(
+ input: 'mate-user-guide.desktop.in.in',
+ output: 'mate-user-guide.desktop.in',
+ copy: true,
+)
+
+i18n.merge_file(
+ input: desktop_in,
+ output: 'mate-user-guide.desktop',
+ type: 'desktop',
+ po_dir: join_paths(meson.project_source_root(), 'po'),
+ install: true,
+ install_dir: join_paths(get_option('datadir'), 'applications'),
+)
+
+subdir('mate-user-guide')