summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Sales de Andrade <qulogic@pidgin.im>2014-11-08 01:42:55 -0500
committerElliott Sales de Andrade <qulogic@pidgin.im>2014-11-08 01:42:55 -0500
commitb79fbf4a6100cc6cdb5f857bd652c32734ffea90 (patch)
treef25a69d797189df8760e7676854472a254ee0b95
parent059686f6043116db48707c9800aa8e46875dc8c2 (diff)
downloadpidgin-b79fbf4a6100cc6cdb5f857bd652c32734ffea90.tar.gz
Add an AppData description file from Richard Hughes.
-rw-r--r--.hgignore1
-rw-r--r--pidgin/Makefile.am9
-rw-r--r--pidgin/data/pidgin.appdata.xml.in29
-rw-r--r--po/POTFILES.in1
4 files changed, 40 insertions, 0 deletions
diff --git a/.hgignore b/.hgignore
index d25ee4bbb9..e6a129f62f 100644
--- a/.hgignore
+++ b/.hgignore
@@ -89,6 +89,7 @@ pidgin-[0-9a-z.-]+/
pidgin.apspec$
pidgin.spec$
pidgin/pidgin$
+pidgin/data/pidgin.appdata.xml$
pidgin/data/pidgin.desktop$
pidgin/data/pidgin.desktop.in$
pidgin/pixmaps/emotes/default/24/theme
diff --git a/pidgin/Makefile.am b/pidgin/Makefile.am
index d0c2d69cd5..0d19e149b7 100644
--- a/pidgin/Makefile.am
+++ b/pidgin/Makefile.am
@@ -3,6 +3,7 @@ EXTRA_DIST = \
getopt.h \
getopt1.c \
Makefile.mingw \
+ data/pidgin.appdata.xml.in \
data/pidgin.desktop.in \
data/pidgin.pc.in \
data/pidgin-uninstalled.pc.in \
@@ -186,8 +187,16 @@ appsdir = $(datadir)/applications
apps_in_files = data/pidgin.desktop.in
apps_DATA = $(apps_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@
+
+appdatadir = $(datarootdir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = data/pidgin.appdata.xml.in
+
+@INTLTOOL_XML_RULE@
+
endif # INSTALL_I18N
+CLEANFILES = $(appdata_DATA)
DISTCLEANFILES = $(DESKTOP_FILE)
endif # ENABLE_GTK
diff --git a/pidgin/data/pidgin.appdata.xml.in b/pidgin/data/pidgin.appdata.xml.in
new file mode 100644
index 0000000000..e05ed3605c
--- /dev/null
+++ b/pidgin/data/pidgin.appdata.xml.in
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
+<!-- Copyright 2014 Pidgin Developers <devel@pidgin.im> -->
+
+<application>
+ <id type="desktop">pidgin.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>GPL-2.0</project_license>
+ <_summary>Instant Messaging Client</_summary>
+ <description>
+ <_p>
+ Pidgin is a chat program which lets you log in to accounts on multiple
+ chat networks simultaneously.
+ </_p>
+ <_p>
+ This means that you can be chatting with friends on MSN, talking to a
+ friend on Google Talk, and sitting in a Yahoo chat room all at the same
+ time.
+ </_p>
+ </description>
+ <url type="homepage">http://www.pidgin.im/</url>
+ <screenshots>
+ <screenshot type="default">
+ <image>http://www.pidgin.im/shared/img/contact_window.png</image>
+ <_caption>The buddy list showing friends on different networks.</_caption>
+ </screenshot>
+ </screenshots>
+ <updatecontact>devel@pidgin.im</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index fc923f5885..ff84c9f68a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -193,6 +193,7 @@ libpurple/status.c
libpurple/util.c
libpurple/win32/libc_interface.c
libpurple/xmlnode.c
+pidgin/data/pidgin.appdata.xml.in
pidgin/data/pidgin.desktop.in
pidgin/gtkaccount.c
pidgin/gtkblist-theme.c