[evolution-mapi/evolution-mapi-3-12] Add evolution-mapi.metainfo.xml file



commit 1c63253ceef1a2286384cd260f1a370ba3c5b2f1
Author: Milan Crha <mcrha redhat com>
Date:   Wed Oct 8 11:59:16 2014 +0200

    Add evolution-mapi.metainfo.xml file
    
    This is useful for GNOME Software, to show the plugin as an addon
    for the Evolution. The used translatable strings are taken from
    the camel provider.

 Makefile.am                    |    9 +++++++++
 evolution-mapi.metainfo.xml.in |   13 +++++++++++++
 po/POTFILES.in                 |    1 +
 3 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 3e30a14..2783a2f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,8 +1,15 @@
 SUBDIRS = src po
 DIST_SUBDIRS= src po
 
+ INTLTOOL_XML_NOMERGE_RULE@
+metainfodir = $(datadir)/appdata
+metainfo_in_files = evolution-mapi.metainfo.xml.in
+metainfo_files = $(metainfo_in_files:.xml.in=.xml)
+dist_metainfo_DATA = $(metainfo_files)
+
 EXTRA_DIST =                   \
        ChangeLog               \
+       $(metainfo_in_files)    \
        intltool-merge.in       \
        intltool-update.in      \
        intltool-extract.in     
@@ -11,6 +18,8 @@ CLEANFILES =  intltool-merge  \
                intltool-update \
                intltool-extract        
 
+DISTCLEANFILES = $(metainfo_files)
+
 MAINTAINERCLEANFILES =                                 \
        $(srcdir)/aclocal.m4                            \
        $(srcdir)/config.guess                          \
diff --git a/evolution-mapi.metainfo.xml.in b/evolution-mapi.metainfo.xml.in
new file mode 100644
index 0000000..ee59b15
--- /dev/null
+++ b/evolution-mapi.metainfo.xml.in
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Evolution Team <evolution-hackers gnome org> -->
+<component type="addon">
+       <id>evolution-mapi</id>
+       <extends>evolution.desktop</extends>
+       <_name>Exchange MAPI</_name>
+       <_summary>For accessing Microsoft Exchange 2007/OpenChange servers via MAPI
+       </_summary>
+       <url type="homepage">https://live.gnome.org/Apps/Evolution</url>
+       <metadata_license>CC0-1.0</metadata_license>
+       <project_license>LGPL</project_license>
+       <updatecontact>evolution-hackers_at_gnome.org</updatecontact>
+</component>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d68e58e..cfdcdd9 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
+evolution-mapi.metainfo.xml.in
 src/addressbook/e-book-backend-mapi.c
 src/addressbook/e-book-backend-mapi-contacts.c
 src/addressbook/e-book-backend-mapi-gal.c


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