summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mustieles <daniel.mustieles@gmail.com>2014-01-21 13:48:12 +0100
committerDaniel Mustieles <daniel.mustieles@gmail.com>2014-01-21 13:54:59 +0100
commit369ff916078867c6795b3ac04fea33b186b0acbe (patch)
tree97cc8939c7113c0b62294e052c57bb9d30039b07
parent22124c74d0415dcb1a49876d0bae6ee0e14c070d (diff)
downloadgnome-font-viewer-369ff916078867c6795b3ac04fea33b186b0acbe.tar.gz
Added AppData file
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
-rw-r--r--data/Makefile.am10
-rw-r--r--data/gnome-font-viewer.appdata.xml.in22
4 files changed, 34 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 1bf7e72..1c2ffb7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,3 @@
-SUBDIRS = src po
+SUBDIRS = data src po
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
diff --git a/configure.ac b/configure.ac
index 27fca32..15a55b0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -47,6 +47,7 @@ PKG_CHECK_MODULES(FONTVIEW,
AC_CONFIG_FILES([
Makefile
+data/Makefile
src/Makefile
src/gnome-font-viewer.desktop.in
po/Makefile.in
diff --git a/data/Makefile.am b/data/Makefile.am
new file mode 100644
index 0000000..1dad799
--- /dev/null
+++ b/data/Makefile.am
@@ -0,0 +1,10 @@
+appdatadir = $(datadir)/appdata
+appdata_in_files = gnome-font-viewer.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+@INTLTOOL_XML_RULE@
+
+EXTRA_DIST = \
+ $(appdata_in_files)
+
+CLEANFILES = \
+ $(appdata_DATA)
diff --git a/data/gnome-font-viewer.appdata.xml.in b/data/gnome-font-viewer.appdata.xml.in
new file mode 100644
index 0000000..11259a5
--- /dev/null
+++ b/data/gnome-font-viewer.appdata.xml.in
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+<id type="desktop">gnome-font-viewer.desktop</id>
+<licence>CC0</licence>
+<description>
+<_p>
+GNOME Font Viewer shows you the fonts installed on your computer for your use as
+thumbnails.
+Selecting any thumbnails shows the full view of how the font would look under
+various sizes.
+</_p>
+<_p>
+GNOME Font Viewer also supports installing new font files downloaded in the .ttf
+and other formats.
+Fonts may be installed only for your use or made available to all users on the computer.
+</_p>
+</description>
+<url type="homepage">http://www.gnome.org/gnome-3/</url>
+<screenshots>
+<screenshot type="default">https://help.gnome.org/misc/release-notes/3.6/figures/users-font-viewer.png</screenshot>
+</screenshots>
+</application>