[atomix] Added initial appstream file



commit b2a18552d0d10125587a8da7bccea7510dff6255
Author: Robert Roth <robert roth off gmail com>
Date:   Sun Jan 18 00:23:42 2015 +0200

    Added initial appstream file

 .gitignore                 |    4 +++-
 configure.ac               |    5 +++--
 data/Makefile.am           |   13 ++++++++++++-
 data/atomix.appdata.xml.in |   24 ++++++++++++++++++++++++
 po/POTFILES.in             |    1 +
 5 files changed, 43 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 8dd22b3..0a0a49c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,7 +2,9 @@ ABOUT-NLS
 Makefile
 Makefile.in
 aclocal.m4
-atomix.desktop
+data/atomix.desktop
+data/atomix.appdata.xml
+data/atomix.appdata.valid
 autom4te.cache/
 config.guess
 config.h
diff --git a/configure.ac b/configure.ac
index 8c09148..037c1c6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -14,11 +14,13 @@ m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 AC_PROG_CC
 AC_PROG_RANLIB
 
+APPSTREAM_XML
+
 GNOME_COMPILE_WARNINGS([maximum])
 GNOME_MAINTAINER_MODE_DEFINES
 
 dnl ================= Requirements =======================
-LIBGTK_REQUIRED=3.0.0
+LIBGTK_REQUIRED=3.14.0
 LIBXML_REQUIRED=2.4.23
 GLIB_REQUIRED=2.36.0
 GDK_PIXBUF_REQUIRED=2.0.5
@@ -43,7 +45,6 @@ GETTEXT_PACKAGE=atomix
 AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext domain])
 AC_SUBST(GETTEXT_PACKAGE)
 
-
 AC_CONFIG_FILES([
 Makefile
 po/Makefile.in
diff --git a/data/Makefile.am b/data/Makefile.am
index c35adcf..f6e36f8 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,15 +10,26 @@ icon_DATA = atomix-icon.png
 
 @INTLTOOL_DESKTOP_RULE@
 
+appstream_in_files = atomix.appdata.xml.in
+appstream_XML = $(appstream_in_files:.xml.in=.xml)
+ APPSTREAM_XML_RULES@
+ INTLTOOL_XML_RULE@
+
 appdir = $(datadir)/applications
 app_in_files = atomix.desktop.in
 app_DATA = $(app_in_files:.desktop.in=.desktop)
 
 EXTRA_DIST = \
+    $(appstream_in_files) \
        $(app_in_files) \
        $(logo_DATA) \
        $(icon_DATA)
 
-DISTCLEANFILES = \
+CLEANFILES = \
+       $(appstream_XML) \
        $(app_DATA)
 
+check-local: $(desktop_DATA) \
+       $(DESKTOP_FILE_VALIDATE) $(desktop_DATA)
+
+DISTCHECK_CONFIGURE_FLAGS = --enable-appdata-check
diff --git a/data/atomix.appdata.xml.in b/data/atomix.appdata.xml.in
new file mode 100644
index 0000000..64532ee
--- /dev/null
+++ b/data/atomix.appdata.xml.in
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2015 Robert Roth -->
+<application>
+ <id type="desktop">atomix.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0+ and CC-BY-SA-3.0</project_license>
+ <_name>Atomix</_name>
+ <_summary>Build molecules out of single atoms</_summary>
+ <description>
+  <_p>
+   GNOME Mines is a puzzle game where your goal is to assemble molecules from compound atoms by moving them 
on the playfield.
+   However, atoms don't just move wherever you want to move them to, they slide until they hit either a wall 
or another atom.
+  </_p>
+  <_p>
+   Try to build the molecules as fast as you can on each level to earn a higher score.
+  </_p>
+ </description>
+ <screenshots>
+  <screenshot type="default" width="686" 
height="557">https://wiki.gnome.org/Apps/Atomix?action=AttachFile&amp;do=get&amp;target=atomix-screenshot.png</screenshot>
+ </screenshots>
+ <url type="homepage">https://wiki.gnome.org/Apps/Atomix</url>
+ <updatecontact>games_list_at_gnome.org</updatecontact>
+ <project_group>GNOME</project_group>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index f687fc0..3936932 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
+data/atomix.appdata.xml.in
 data/atomix.desktop.in
 data/level/aceticacid.atomix.xml
 data/level/acetone.atomix.xml


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