metainfo: add notification plugin
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>
Thu, 12 Jun 2014 15:34:33 +0000 (19:34 +0400)
committerIgor Gnatenko <i.gnatenko.brain@gmail.com>
Thu, 12 Jun 2014 19:27:40 +0000 (23:27 +0400)
Reference: http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3210
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
src/plugins/notification/Makefile.am
src/plugins/notification/claws-mail-notification.metainfo.xml [new file with mode: 0644]

index a5a1969..4521a81 100644 (file)
@@ -2,6 +2,10 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
+appdata_files = claws-mail-notification.metainfo.xml
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_files)
+
 if BUILD_HOTKEYS
 hotkey_lib = libcmnpgtkhotkey.la
 hotkey_lib_path = $(top_builddir)/src/plugins/notification/gtkhotkey/libcmnpgtkhotkey.la
@@ -11,7 +15,7 @@ hotkey_lib_path =
 endif
 
 SUBDIRS=gtkhotkey
-EXTRA_DIST = claws.def plugin.def version.rc
+EXTRA_DIST = claws.def plugin.def version.rc $(appdata_files)
 CFLAGS += "-Wall"
 
 IFLAGS = \
diff --git a/src/plugins/notification/claws-mail-notification.metainfo.xml b/src/plugins/notification/claws-mail-notification.metainfo.xml
new file mode 100644 (file)
index 0000000..799f0f2
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Igor Gnatenko <i.gnatenko.brain@gmail.com> -->
+<component type="addon">
+<id>claws-mail-notification</id>
+<extends>claws-mail.desktop</extends>
+<name>Notification</name>
+<summary>Provides various ways to notify the user of new and unread email</summary>
+<url type="homepage">http://claws-mail.org/plugin.php?plugin=notification</url>
+<metadata_license>CC0-1.0</metadata_license>
+<project_license>GPL-3.0+</project_license>
+<updatecontact>i.gnatenko.brain@gmail.com</updatecontact>
+</component>