[gbrainy] Include appdata definition
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Include appdata definition
- Date: Tue, 27 May 2014 20:51:58 +0000 (UTC)
commit a00804acc9cab1ca50afa4e78b3a791789329bd2
Author: Jordi Mas <jmas softcatala org>
Date: Tue May 27 22:51:49 2014 +0200
Include appdata definition
data/Makefile.am | 9 +++++++--
data/gbrainy.appdata.xml.in | 36 ++++++++++++++++++++++++++++++++++++
po/POTFILES.in | 1 +
po/POTFILES.skip | 1 +
4 files changed, 45 insertions(+), 2 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index f1810b3..f8b084b 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -25,6 +25,11 @@ Applications_DATA = $(desktop_files)
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = gbrainy.pc
+appdatadir = $(datadir)/appdata
+appdata_in_files = gbrainy.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
+
tango_icons = \
app-graphics/gbrainy.png \
app-graphics/gbrainy.svg \
@@ -119,6 +124,6 @@ uninstall-hook:
noinst_DATA =
-DISTCLEANFILES = $(desktop_files)
+DISTCLEANFILES = $(desktop_files) $(appdata_DATA)
-EXTRA_DIST = $(pixmap_DATA) $(tango_icons) $(man_MANS) $(analogies_DATA) $(desktop_in_files) $(themes_DATA)
$(sounds_DATA) gbrainy.pc.in
+EXTRA_DIST = $(pixmap_DATA) $(tango_icons) $(man_MANS) $(analogies_DATA) $(desktop_in_files) $(themes_DATA)
$(sounds_DATA) gbrainy.pc.in $(appdata_in_files)
diff --git a/data/gbrainy.appdata.xml.in b/data/gbrainy.appdata.xml.in
new file mode 100644
index 0000000..f7fad69
--- /dev/null
+++ b/data/gbrainy.appdata.xml.in
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">gbrainy.desktop</id>
+ <licence>CC0</licence>
+ <description>
+ <_p>
+ gbrainy is a platform to train memory, arithmetical and logical capabilities
+ with many sorts of different exercises of different difficulty levels.
+ It should have something for all ages and purposes: kids whose parents want
+ them to develop their capabilities, adults that want to keep their mind in
+ form or just try it out for fun, older people that might need to do some
+ memory exercises, etc.
+ </_p>
+
+ <_p>
+ It provides the following types of games:
+ </_p>
+
+ <_p>
+ <_ul>
+ <_li>Logic Puzzles: games designed to challenge your reasoning and thinking
+ skills.</_li>
+ <_li>Mental Calculation: games based on arithmetical operations designed to
+ prove your mental calculation skills.</_li>
+ <_li>Memory Trainers: games designed to challenge your short term
+ memory.</_li>
+ <_li>Verbal Analogies: games that challenge your verbal aptitude.</_li>
+ </_ul>
+ </_p>
+ </description>
+ <screenshots>
+ <screenshot
type="default">http://gent.softcatala.org/jmas/gbrainy/gbrainy-screenshot-appdata.png</screenshot>
+ </screenshots>
+ <url type="homepage">https://wiki.gnome.org/action/show/Apps/gbrainy/</url>
+ <updatecontact>jmas_at_softcatala_dot_org</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4b0993a..6987b4a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,5 @@
data/games.xml
+data/gbrainy.appdata.xml.in
data/gbrainy.desktop.in
data/themes/themes.xml
data/verbal_analogies.xml
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 849d94e..6cc0360 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -3,3 +3,4 @@ tests/test_analogies.xml
tests/test_games.xml
tools/GameTemplate.cs
src/Clients/WebForms/Game.aspx.cs
+data/gbrainy.appdata.xml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]