summaryrefslogtreecommitdiff
path: root/desktop/meson.build
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-05-03 17:19:03 +0800
committerraveit65 <[email protected]>2019-05-14 13:17:44 +0200
commita9d1ad8be4dc792ad976aac14a3d12044d5d6c84 (patch)
tree1e1d4dcfc53a4a3a3bc242d400a3ea1c88178564 /desktop/meson.build
parent485856f96a311f02de775c769e6e37e6ab53f4fb (diff)
downloadmate-backgrounds-a9d1ad8be4dc792ad976aac14a3d12044d5d6c84.tar.bz2
mate-backgrounds-a9d1ad8be4dc792ad976aac14a3d12044d5d6c84.tar.xz
use meson to build
Diffstat (limited to 'desktop/meson.build')
-rw-r--r--desktop/meson.build27
1 files changed, 27 insertions, 0 deletions
diff --git a/desktop/meson.build b/desktop/meson.build
new file mode 100644
index 0000000..7b9d2fe
--- /dev/null
+++ b/desktop/meson.build
@@ -0,0 +1,27 @@
+# replace @datadir@ and translate
+metadata = 'mate-desktop.xml'
+i18n.merge_file(metadata,
+ input: configure_file(
+ input: metadata + '.in.in',
+ output: metadata + '.in',
+ configuration : conf
+ ),
+ output: metadata,
+ po_dir: '../po',
+ data_dirs: '..',
+ install: true,
+ install_dir: metadatadir
+ )
+
+backgrounds = [
+ 'Float-into-MATE.png',
+ 'GreenTraditional.jpg',
+ 'MATE-Stripes-Dark.png',
+ 'MATE-Stripes-Light.png',
+ 'Stripes.png',
+ 'Ubuntu-Mate-Cold-no-logo.png',
+ 'Ubuntu-Mate-Dark-no-logo.png',
+ 'Ubuntu-Mate-Radioactive-no-logo.png',
+ 'Ubuntu-Mate-Warm-no-logo.png',
+]
+install_data(backgrounds, install_dir: join_paths(backgrounddir, 'desktop'))