commit 6d4523406e2e574c0cf22918dcb5c2b334926ba5 parent 946cfc1677785eaab319e999b321b57ec4af64d0 Author: Igor Gnatenko <i.gnatenko.brain@gmail.com> Date: Thu, 12 Jun 2014 19:41:00 +0400 metainfo: add pdf_viewer plugin Reference: http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3210 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com> Diffstat:
| M | src/plugins/pdf_viewer/Makefile.am | | | 8 | ++++++-- |
| A | src/plugins/pdf_viewer/claws-mail-pdf_viewer.metainfo.xml | | | 12 | ++++++++++++ |
2 files changed, 18 insertions(+), 2 deletions(-)
diff --git a/src/plugins/pdf_viewer/Makefile.am b/src/plugins/pdf_viewer/Makefile.am @@ -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 @@ -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>