aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-06-06 21:16:45 +0200
committerGuido Günther <agx@sigxcpu.org>2014-06-06 21:22:19 +0200
commitb2d73d33da16f497d27e95b9cf498b9adc9f9c80 (patch)
tree10f0659e0ae2e145d5330c4f832447f6d93db97e
parent9cf173763b4d21178276f228feceb799b0ce12c6 (diff)
Add appdata file
-rw-r--r--data/Makefile.am7
-rw-r--r--data/prepaid-manager-applet.appdata.xml.in22
-rw-r--r--po/POTFILES.in1
3 files changed, 30 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 2b5580a..ad4e00f 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -15,14 +15,21 @@ gsettings_SCHEMAS = org.gnome.PrepaidManager.gschema.xml
gschemas.compiled: $(gsettings_SCHEMAS:.xml=.valid)
$(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=. .
+@INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+appdata_in_files = prepaid-manager-applet.appdata.xml.in
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
all-local: gschemas.compiled
EXTRA_DIST = \
org.gnome.PrepaidManager.gschema.xml.in.in \
+ $(appdata_in_files) \
$(NULL)
CLEANFILES = \
$(gsettings_SCHEMAS) \
gschemas.compiled \
+ $(appdata_DATA) \
$(NULL)
diff --git a/data/prepaid-manager-applet.appdata.xml.in b/data/prepaid-manager-applet.appdata.xml.in
new file mode 100644
index 0000000..3f1f9cb
--- /dev/null
+++ b/data/prepaid-manager-applet.appdata.xml.in
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Guido Günther <agx@sigxcpu.org> -->
+<application>
+ <id type="desktop">prepaid-manager-applet.desktop</id>
+ <metadata_licence>CC-BY-SA-3.0</metadata_licence>
+ <description>
+ <_p>
+ GNOME Prepaid-manager-applet is an applet for the GNOME Desktop that
+ allows you to check and top up the balance of GSM mobile prepaid SIM cards.
+ </_p>
+ <_p>
+ It uses ModemManager to talk to the modem and mobile-broadband-provider-info
+ to determine the necessary USSD codes for your provider.
+ </_p>
+ </description>
+ <screenshots>
+ <screenshot type="default" width="337" height="150">https://honk.sigxcpu.org/piki/projects/ppm/check.png</screenshot>
+ <screenshot type="default" width="337" height="150">https://honk.sigxcpu.org/piki/projects/ppm/topup.png</screenshot>
+ </screenshots>
+ <url type="homepage">https://honk.sigxcpu.org/piki/projects/ppm/</url>
+ <updatecontact>agx_at_sigxcpu.org</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 355848b..13933ad 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,4 +1,5 @@
data/org.gnome.PrepaidManager.gschema.xml.in.in
+data/prepaid-manager-applet.appdata.xml.in
[type: gettext/glade]src/ppm.ui
[type: gettext/glade]src/ppm-provider-assistant.ui
src/prepaid-manager-applet.desktop.in