summaryrefslogtreecommitdiff
path: root/abstract
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 /abstract
parent485856f96a311f02de775c769e6e37e6ab53f4fb (diff)
downloadmate-backgrounds-a9d1ad8be4dc792ad976aac14a3d12044d5d6c84.tar.bz2
mate-backgrounds-a9d1ad8be4dc792ad976aac14a3d12044d5d6c84.tar.xz
use meson to build
Diffstat (limited to 'abstract')
-rw-r--r--abstract/meson.build24
1 files changed, 24 insertions, 0 deletions
diff --git a/abstract/meson.build b/abstract/meson.build
new file mode 100644
index 0000000..e326d4f
--- /dev/null
+++ b/abstract/meson.build
@@ -0,0 +1,24 @@
+# replace @datadir@ and translate
+metadata = 'mate-abstract.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 = [
+ 'Arc-Colors-Transparent-Wallpaper.png',
+ 'Flow.png',
+ 'Gulp.png',
+ 'Silk.png',
+ 'Spring.png',
+ 'Waves.png',
+ ]
+install_data(backgrounds, install_dir: join_paths(backgrounddir, 'abstract'))