summaryrefslogtreecommitdiff
path: root/nature/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 /nature/meson.build
parent485856f96a311f02de775c769e6e37e6ab53f4fb (diff)
downloadmate-backgrounds-a9d1ad8be4dc792ad976aac14a3d12044d5d6c84.tar.bz2
mate-backgrounds-a9d1ad8be4dc792ad976aac14a3d12044d5d6c84.tar.xz
use meson to build
Diffstat (limited to 'nature/meson.build')
-rw-r--r--nature/meson.build30
1 files changed, 30 insertions, 0 deletions
diff --git a/nature/meson.build b/nature/meson.build
new file mode 100644
index 0000000..47799b4
--- /dev/null
+++ b/nature/meson.build
@@ -0,0 +1,30 @@
+# replace @datadir@ and translate
+metadata = 'mate-nature.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 = [
+ 'Aqua.jpg',
+ 'Blinds.jpg',
+ 'Dune.jpg',
+ 'FreshFlower.jpg',
+ 'Garden.jpg',
+ 'GreenMeadow.jpg',
+ 'LadyBird.jpg',
+ 'RainDrops.jpg',
+ 'Storm.jpg',
+ 'TwoWings.jpg',
+ 'Wood.jpg',
+ 'YellowFlower.jpg',
+]
+install_data(backgrounds, install_dir: join_paths(backgrounddir, 'nature'))