[office-runner] Add AppData
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [office-runner] Add AppData
- Date: Fri, 26 Sep 2014 10:37:38 +0000 (UTC)
commit ffd5bd578b90203874219612ee539a50b1505295
Author: Bastien Nocera <hadess hadess net>
Date: Fri Sep 26 12:35:29 2014 +0200
Add AppData
po/POTFILES.in | 1 +
src/Makefile.am | 7 ++++++-
src/office-runner.appdata.xml.in | 25 +++++++++++++++++++++++++
3 files changed, 32 insertions(+), 1 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 8c13900..6822ca6 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,3 +1,4 @@
src/office-runner.c
[type: gettext/glade] src/office-runner.ui
[type: gettext/ini] src/office-runner.desktop.in
+src/office-runner.appdata.xml.in
diff --git a/src/Makefile.am b/src/Makefile.am
index ff4c3bb..fa2a35c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -19,7 +19,12 @@ desktopdir = $(datadir)/applications
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
-EXTRA_DIST = $(stuff_DATA) $(desktop_in_files)
+appdata_in_files = office-runner.appdata.xml.in
+appdatadir = $(datarootdir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+ INTLTOOL_XML_RULE@
+
+EXTRA_DIST = $(stuff_DATA) $(desktop_in_files) $(appdata_in_files)
CLEANFILES = $(desktop_DATA)
diff --git a/src/office-runner.appdata.xml.in b/src/office-runner.appdata.xml.in
new file mode 100644
index 0000000..18c3840
--- /dev/null
+++ b/src/office-runner.appdata.xml.in
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 William Moreno Reyes <williamjmorenor gmail com>
+ Copyright 2014 Bastien Nocera <hadess hadess net> -->
+
+<application>
+ <id type="desktop">office-runner.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <_summary>Close your laptop lid and start running</_summary>
+ <_description>
+ <p>
+ Office Runner is a game where tallying up the time taken to go from one place in
+ your office to the other.
+ </p>
+ <p>
+ Incidentally, it will also let you close your laptop lid without the computer going
+ to sleep, which is useful to avoid having to reconnect to the network after your
+ short trip.
+ </p>
+ </_description>
+ <_url type="homepage">http://www.hadess.net/2011/09/omg-i-haz-designed-bug-fix.html</_url>
+ <screenshots>
+ <_screenshot
type="default">https://git.gnome.org/browse/office-runner/plain/src/office-runner-appdata-screenshot.jpg</_screenshot>
+ </screenshots>
+ <updatecontact>hadess hadess net</updatecontact>
+</application>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]