metainfo: add pdf_viewer plugin
authorIgor Gnatenko <i.gnatenko.brain@gmail.com>
Thu, 12 Jun 2014 15:41:00 +0000 (19:41 +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/pdf_viewer/Makefile.am
src/plugins/pdf_viewer/claws-mail-pdf_viewer.metainfo.xml [new file with mode: 0644]

index 055343e..275e7fc 100644 (file)
@@ -2,6 +2,11 @@
 # This file is part of Claws Mail package.
 # See COPYING file for license details.
 
+appdata_files = claws-mail-pdf_viewer.metainfo.xml
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_files)
+EXTRA_DIST = $(appdata_files)
+
 plugindir = $(pkglibdir)/plugins
 
 if BUILD_PDF_VIEWER_PLUGIN
@@ -24,4 +29,4 @@ pdf_viewer_la_CPPFLAGS = \
        -I$(top_srcdir)/src/gtk \
        $(GLIB_CFLAGS) \
        $(GTK_CFLAGS) \
-       $(POPPLER_CFLAGS)
\ No newline at end of file
+       $(POPPLER_CFLAGS)
diff --git a/src/plugins/pdf_viewer/claws-mail-pdf_viewer.metainfo.xml b/src/plugins/pdf_viewer/claws-mail-pdf_viewer.metainfo.xml
new file mode 100644 (file)
index 0000000..43523b2
--- /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-pdf_viewer</id>
+<extends>claws-mail.desktop</extends>
+<name>PDF Viewer</name>
+<summary>Enables the viewing of PDF and PostScript attachments using the Poppler library and GhostScript</summary>
+<url type="homepage">http://claws-mail.org/plugin.php?plugin=pdf_viewer</url>
+<metadata_license>CC0-1.0</metadata_license>
+<project_license>GPL-3.0+</project_license>
+<updatecontact>i.gnatenko.brain@gmail.com</updatecontact>
+</component>