[evolution/wip/webkit2] Add metainfo.xml files for pst-import plugin
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/webkit2] Add metainfo.xml files for pst-import plugin
- Date: Thu, 3 Mar 2016 13:42:53 +0000 (UTC)
commit daab365fd7e2010e3dbfbd5a7e734f6b923eea44
Author: Milan Crha <mcrha redhat com>
Date: Mon Jan 11 20:06:02 2016 +0100
Add metainfo.xml files for pst-import plugin
This is useful for GNOME Software, to show the plugin as an addon
for the Evolution. Packagers can decide what to do with the file,
either they can add it into the respective subpackage or they can
just ignore (remove) the file, if they do not build special package
for this plugin.
plugins/pst-import/Makefile.am | 9 ++++++++-
plugins/pst-import/evolution-pst.metainfo.xml.in | 15 +++++++++++++++
po/POTFILES.in | 1 +
3 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/plugins/pst-import/Makefile.am b/plugins/pst-import/Makefile.am
index 755edf8..25d9d43 100644
--- a/plugins/pst-import/Makefile.am
+++ b/plugins/pst-import/Makefile.am
@@ -35,10 +35,17 @@ liborg_gnome_pst_import_la_LIBADD = \
$(LIBPST_LIBS) \
$(NULL)
-EXTRA_DIST = org-gnome-pst-import.eplug.xml
+ INTLTOOL_XML_NOMERGE_RULE@
+metainfodir = $(datadir)/appdata
+metainfo_in_files = evolution-pst.metainfo.xml.in
+metainfo_files = $(metainfo_in_files:.xml.in=.xml)
+dist_metainfo_DATA = $(metainfo_files)
+
+EXTRA_DIST = org-gnome-pst-import.eplug.xml $(metainfo_in_files)
BUILT_SOURCES = org-gnome-pst-import.eplug
CLEANFILES = $(BUILT_SOURCES)
+DISTCLEANFILES = $(metainfo_files)
-include $(top_srcdir)/git.mk
diff --git a/plugins/pst-import/evolution-pst.metainfo.xml.in
b/plugins/pst-import/evolution-pst.metainfo.xml.in
new file mode 100644
index 0000000..7925b2f
--- /dev/null
+++ b/plugins/pst-import/evolution-pst.metainfo.xml.in
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2016 Evolution Team <evolution-hackers gnome org> -->
+<component type="addon">
+ <id>evolution-pst</id>
+ <extends>evolution.desktop</extends>
+ <_name>Outlook PST import</_name>
+ <_summary>Import Outlook messages from PST file</_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>
+ <kudos>
+ <kudo>ModernToolkit</kudo>
+ </kudos>
+</component>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 60d1a5c..815837e 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -490,6 +490,7 @@ plugins/mail-notification/mail-notification.c
plugins/mail-notification/org-gnome-mail-notification.eplug.xml
plugins/mail-to-task/mail-to-task.c
plugins/mail-to-task/org-gnome-mail-to-task.eplug.xml
+plugins/pst-import/evolution-pst.metainfo.xml.in
plugins/pst-import/org-gnome-pst-import.eplug.xml
plugins/pst-import/pst-importer.c
plugins/publish-calendar/org-gnome-publish-calendar.eplug.xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]