diff options
author | David King <amigadave@amigadave.com> | 2013-11-13 09:45:41 +0000 |
---|---|---|
committer | David King <amigadave@amigadave.com> | 2013-11-13 09:47:37 +0000 |
commit | e4bde7d2a291919f52ed2a4846f69093e078efe4 (patch) | |
tree | 9a20cf5473ca16c2e08a70e286b0e3573c13a2c5 | |
parent | bec84ac4e635eb4f9dbfd9b8c59b48deed284fd2 (diff) |
Add AppData description
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile.am | 10 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | data/cheese.appdata.xml.in | 26 | ||||
-rw-r--r-- | po/POTFILES.in | 1 |
5 files changed, 40 insertions, 2 deletions
@@ -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 eb21b4b6..bc29b0be 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 622083ed..24239082 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 00000000..d1d1b496 --- /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 ef8d8032..557b60ad 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 |