[gimp/meson: 512/805] Add appdata file. fix .gitignore.



commit c739f8e0f4e845076f717c75c08e9be2358919f3
Author: Félix Piédallu <felix piedallu me>
Date:   Fri Jan 5 17:36:59 2018 +0100

    Add appdata file. fix .gitignore.

 .gitignore          |    1 +
 desktop/meson.build |    8 ++++++++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4a93779..f636766 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
 /build/archlinux/build
 /build/archlinux/gimp*
 /build/archlinux/src
+/build/archlinux/pkg
 /build_m
diff --git a/desktop/meson.build b/desktop/meson.build
index 50c0efd..27cfc08 100644
--- a/desktop/meson.build
+++ b/desktop/meson.build
@@ -48,6 +48,14 @@ desktopfile = custom_target(desktopfilename,
   install_dir: join_paths(get_option('datadir'), 'applications'),
 )
 
+appdatafilename = 'gimp.appdata.xml'
+appdatafile = configure_file(
+  input : appdatafilename+'.in',
+  output: appdatafilename,
+  configuration: desktop_conf,
+  install: true,
+  install_dir: join_paths(get_option('datadir'), 'appdata'),
+)
 
 custom_target('validate-desktop',
   input : [ desktopfile, ],


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]