[gnome-weather] Add an AppData description



commit 9d0912ab2792dfbde05aa18bb195c9df73ce3698
Author: Giovanni Campagna <gcampagn redhat com>
Date:   Fri Aug 30 11:13:37 2013 +0200

    Add an AppData description
    
    Not much to say about it, but at least we're setting the example.

 data/Makefile.am                                  |    5 +++++
 data/org.gnome.Weather.Application.appdata.xml.in |   17 +++++++++++++++++
 2 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index ae834be..741620e 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -18,6 +18,11 @@ gsettings_SCHEMAS = $(PACKAGE_NAME).gschema.xml
 
 @GSETTINGS_RULES@
 
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(PACKAGE_NAME).appdata.xml
+
+ INTLTOOL_XML_RULE@
+
 $(PACKAGE_NAME).service: $(PACKAGE_NAME).service.in
        $(AM_V_GEN) sed \
                -e "s|[ ]PACKAGE_NAME@|$(PACKAGE_NAME)|g" \
diff --git a/data/org.gnome.Weather.Application.appdata.xml.in 
b/data/org.gnome.Weather.Application.appdata.xml.in
new file mode 100644
index 0000000..33a4378
--- /dev/null
+++ b/data/org.gnome.Weather.Application.appdata.xml.in
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+  <id type="desktop">org.gnome.Weather.Application.desktop</id>
+  <licence>CC0</licence>
+  <description>
+    <_p>
+      A small application that allows you to monitor the current weather
+      conditions for your city, or anywhere in the world and to access
+      updated forecasts, up to 7 days, provided by various internet services.
+    </_p>
+  </description>
+  <screenshots>
+    <screenshot type="default" width="940" 
height="529">https://help.gnome.org/misc/release-notes/3.8/figures/weather-zurich.png</screenshot>
+  </screenshots>
+  <url type="homepage">https://wiki.gnome.org/Apps/Weather</url>
+  <updatecontact>gcampagna_at_src.gnome.org</updatecontact>
+</application>


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