From a9d1ad8be4dc792ad976aac14a3d12044d5d6c84 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Fri, 3 May 2019 17:19:03 +0800 Subject: use meson to build --- desktop/meson.build | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 desktop/meson.build (limited to 'desktop') 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')) -- cgit v1.2.1