[tali] Add an appdata file



commit 50c3cc5793eb985039a7f601200aa86454e8539b
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sat Sep 14 21:52:06 2013 -0500

    Add an appdata file

 data/Makefile.am      |   11 +++++++++--
 data/tali.appdata.xml |   21 +++++++++++++++++++++
 2 files changed, 30 insertions(+), 2 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 515ff39..a3d733e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -24,13 +24,20 @@ gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
 
 man_MANS = tali.6
 
-EXTRA_DIST = $(gsettings_in_file) $(man_MANS) $(pixmap_DATA)
-
 gamesdir = $(datadir)/applications
 games_in_files = gtali.desktop.in.in
 games_DATA = $(games_in_files:.desktop.in.in=.desktop)
 @INTLTOOL_DESKTOP_RULE@
 
+appdatadir = $(datadir)/appdata
+appdata_DATA = tali.appdata.xml
+
+EXTRA_DIST = \
+       $(appdata_DATA) \
+       $(gsettings_in_file) \
+       $(man_MANS) \
+       $(pixmap_DATA)
+
 CLEANFILES = $(games_DATA) $(gsettings_SCHEMAS)
 DISTCLEANFILES = $(games_DATA) $(gsettings_SCHEMAS)
 
diff --git a/data/tali.appdata.xml b/data/tali.appdata.xml
new file mode 100644
index 0000000..867f3bb
--- /dev/null
+++ b/data/tali.appdata.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">gtali.desktop</id>
+ <licence>CC0</licence>
+ <description>
+  <p>
+   A variation on poker with dice and less money, this game is a family classic.
+   Throw the dice three times in a row, holding back the ones you like, in order
+   to make the best possible hand. You can also play a lesser-known variant with
+   colored dice.
+  </p>
+  <p>
+   Play between one and five opponents at three difficulty levels.
+  </p>
+ </description>
+ <screenshots>
+  <screenshot type="default" width="666" 
height="591">https://wiki.gnome.org/Tali?action=AttachFile&#x26;do=get&#x26;target=tali.png</screenshot>
+ </screenshots>
+ <url type="homepage">https://wiki.gnome.org/Tali</url>
+ <updatecontact>games_list_at_gnome.org</updatecontact>
+</application>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]