summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-09-23 10:27:30 +0200
committerStefano Karapetsas <[email protected]>2014-09-23 10:27:30 +0200
commit977222daed8436b7486285fce163809c0a489b32 (patch)
tree8710b6b84b548d5cd99d1d36ec46f6a18f0f13ee
parent3ac5d7b70e4a4d8c44b9e9eac4d609e7e5214ff3 (diff)
downloadeom-977222daed8436b7486285fce163809c0a489b32.tar.bz2
eom-977222daed8436b7486285fce163809c0a489b32.tar.xz
Add AppData file
Provided by Richard Hughes <[email protected]> Closes https://github.com/mate-desktop/eom/issues/56
-rw-r--r--data/Makefile.am7
-rw-r--r--data/eom.appdata.xml.in19
-rw-r--r--po/POTFILES.in1
3 files changed, 27 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 9c5ca4c..aa96833 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -9,6 +9,10 @@ desktopdir = $(datadir)/applications
desktop_DATA = $(DESKTOP_FILES)
@INTLTOOL_XML_NOMERGE_RULE@
+appdatadir = $(datadir)/appdata
+dist_appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = eom.appdata.xml.in
+
gsettings_ENUM_NAMESPACE = org.mate.eom
gsettings_ENUM_FILES = $(top_srcdir)/src/eom-scroll-view.h \
$(top_srcdir)/src/eom-window.h
@@ -43,6 +47,9 @@ EXTRA_DIST = \
$(DESKTOP_IN_FILES) \
$(gsettings_SCHEMAS).in.in
+CLEANFILES = \
+ eom.appdata.xml
+
DISTCLEANFILES = \
$(DESKTOP_FILES) \
$(gsettings_SCHEMAS_in) \
diff --git a/data/eom.appdata.xml.in b/data/eom.appdata.xml.in
new file mode 100644
index 0000000..754039b
--- /dev/null
+++ b/data/eom.appdata.xml.in
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Ryan Lerch <[email protected]> -->
+<application>
+ <id type="desktop">eom.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <_name>Eye of MATE</_name>
+ <_summary>Simple image viewer</_summary>
+ <description>
+ <_p>
+ Eye of MATE is a simple viewer for browsing images on your computer.
+ Once an image is loaded, you can zoom and rotate the image, and also view
+ subsequent images in the directory the image was loaded from.
+ </_p>
+ </description>
+ <url type="homepage">http://mate-desktop.org/</url>
+ <screenshots>
+ <screenshot type="default">http://mate-desktop.org/gallery/1.8/eom.png</screenshot>
+ </screenshots>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 82bd7aa..63c1707 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -8,6 +8,7 @@ plugins/fullscreen/eom-fullscreen-plugin.c
plugins/reload/reload.eom-plugin.desktop.in
plugins/reload/eom-reload-plugin.c
plugins/statusbar-date/statusbar-date.eom-plugin.desktop.in
+data/eom.appdata.xml.in
data/eom.desktop.in.in
[type: gettext/glade]data/eom-image-properties-dialog.ui
[type: gettext/glade]data/eom-multiple-save-as-dialog.ui