[cheese] Add AppData description



commit e4bde7d2a291919f52ed2a4846f69093e078efe4
Author: David King <amigadave amigadave com>
Date:   Wed Nov 13 09:45:41 2013 +0000

    Add AppData description

 .gitignore                 |    2 ++
 Makefile.am                |   10 ++++++++--
 configure.ac               |    3 +++
 data/cheese.appdata.xml.in |   26 ++++++++++++++++++++++++++
 po/POTFILES.in             |    1 +
 5 files changed, 40 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b537b6e..a307929 100644
--- a/.gitignore
+++ b/.gitignore
@@ -17,6 +17,8 @@ Makefile.in*
 /build-aux/
 /cheese-lcov/
 /cheese-lcov.info
+/data/cheese.appdata.xml
+/data/cheese.appdata.valid
 /data/*.desktop
 /data/*.desktop.in
 /data/cheese-gtk.pc
diff --git a/Makefile.am b/Makefile.am
index eb21b4b..bc29b0b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -315,9 +315,13 @@ desktopdir = $(datadir)/applications
 desktop_in_files = data/cheese.desktop.in
 desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
 
-gsettings_SCHEMAS = data/org.gnome.Cheese.gschema.xml
- GSETTINGS_RULES@
+ APPDATA_XML_RULES@
+ INTLTOOL_XML_RULE@
+appdata_in_files = data/cheese.appdata.xml.in
+appdata_XML = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
 
+ GSETTINGS_RULES@
+gsettings_SCHEMAS = data/org.gnome.Cheese.gschema.xml
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = \
@@ -478,6 +482,7 @@ dist_noinst_DATA = \
        $(desktop_in_files) \
        $(gsettings_SCHEMAS) \
        $(noinst_resource_files) \
+       $(appdata_in_files) \
        data/cheese.gresource.xml \
        build-aux/test-driver \
        $(gtkdoc_srcdir)/cheese-docs.xml \
@@ -502,6 +507,7 @@ dist_noinst_SCRIPTS = \
        autogen.sh
 
 CLEANFILES = \
+       $(appdata_XML) \
        $(desktop_DATA) \
        $(pkgconfig_DATA) \
        $(enum_data) \
diff --git a/configure.ac b/configure.ac
index 622083e..2423908 100644
--- a/configure.ac
+++ b/configure.ac
@@ -205,6 +205,9 @@ AM_CONDITIONAL([ENABLE_MAN], [test "x$have_manutils" = "xyes"])
 # Mallard help
 YELP_HELP_INIT
 
+# AppData
+APPDATA_XML
+
 GLIB_GSETTINGS
 #*******************************************************************************
 
diff --git a/data/cheese.appdata.xml.in b/data/cheese.appdata.xml.in
new file mode 100644
index 0000000..d1d1b49
--- /dev/null
+++ b/data/cheese.appdata.xml.in
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyrhigh 2013 David King <davidk gnome org -->
+<application>
+    <id type="desktop">cheese.desktop</id>
+    <licence>CC0</licence>
+<!-- Both taken from the desktop file.
+    <name>Cheese</name>
+    <summary></summary>
+-->
+    <description>
+        <_p>Cheese uses your webcam to take photos and videos, applies fancy
+        special effects and lets you share the fun with others.</_p>
+        <_p>Take multiple photos in quick succession with burst mode. Use the
+        countdown to give yourself time to strike a pose, and wait for the
+        flash!</_p>
+        <_p>Under the hood, Cheese uses GStreamer to apply fancy effects to
+        photos and videos. With Cheese it is easy to take photos of you, your
+        friends, pets or whatever you want and share them with others.</_p>
+    </description>
+    <url type="homepage">https://projects.gnome.org/cheese/</url>
+    <screenshots>
+        <screenshot type="default">http://amigadave.com/temp/cheese-default.png</screenshot>
+    </screenshots>
+    <updatecontact>davidk gnome org</updatecontact>
+    <project_group>GNOME</project_group>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ef8d803..557b60a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,6 +4,7 @@
 [type: gettext/glade]data/cheese-appmenu.ui
 [type: gettext/glade]data/cheese-main-window.ui
 [type: gettext/glade]data/cheese-prefs.ui
+data/cheese.appdata.xml.in
 data/cheese.desktop.in.in
 data/org.gnome.Cheese.gschema.xml
 libcheese/cheese-avatar-chooser.c


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