[gnome-music] Add AppData description



commit 309050eef7cfc2e5e3b8fd9fe5b58d649c5892ad
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Tue Sep 3 15:14:42 2013 +0200

    Add AppData description
    
    https://bugzilla.gnome.org/show_bug.cgi?id=707388

 configure.ac                    |    1 +
 data/Makefile.am                |   11 +++++++++--
 data/gnome-music.appdata.xml.in |   17 +++++++++++++++++
 po/POTFILES.in                  |    1 +
 po/POTFILES.skip                |    1 +
 5 files changed, 29 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8629dfb..bc1d026 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,7 @@ AC_CONFIG_FILES([
   data/Makefile
   data/headerbar.ui
   data/AboutDialog.ui
+  data/gnome-music.appdata.xml
   gnomemusic/Makefile
   po/Makefile.in
   libgd/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index 0fd87d1..7328cbd 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -8,6 +8,13 @@ resource_DATA = gnome-music.gresource
 appsdir = $(datadir)/applications
 apps_DATA = gnome-music.desktop
 
+ INTLTOOL_DESKTOP_RULE@
+
+appdatadir = $(datadir)/appdata
+appdata_DATA = gnome-music.appdata.xml
+
+ INTLTOOL_XML_RULE@
+
 # icons
 icon16dir = $(datadir)/icons/hicolor/16x16/apps
 icon16_DATA = icons/hicolor/16x16/apps/gnome-music.png
@@ -41,8 +48,6 @@ update-icon-cache:
        fi
 
 
- INTLTOOL_DESKTOP_RULE@
-
 gsettings_SCHEMAS = org.gnome.Music.gschema.xml
 
 # For uninstalled use
@@ -54,6 +59,7 @@ gschemas.compiled: $(gsettings_SCHEMAS) Makefile
 EXTRA_DIST = \
        $(icon_files) \
        $(resource_files) \
+       gnome-music.appdata.xml.in \
        gnome-music.desktop.in \
        gnome-music.gresource.xml \
        org.gnome.Music.gschema.xml \
@@ -61,6 +67,7 @@ EXTRA_DIST = \
 
 CLEANFILES = \
        gnome-music.gresource \
+       gnome-music.appdata.xml \
        $(apps_DATA) \
        *.valid \
        gschemas.compiled \
diff --git a/data/gnome-music.appdata.xml.in b/data/gnome-music.appdata.xml.in
new file mode 100644
index 0000000..beae327
--- /dev/null
+++ b/data/gnome-music.appdata.xml.in
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">gnome-music.desktop</id>
+ <licence>CC0</licence>
+ <_name>GNOME Music</_name>
+ <_summary>Play and organize your music collection</_summary>
+ <description>
+  <_p>
+   Music is the new GNOME music playing application.
+  </_p>
+ </description>
+ <screenshots>
+  <screenshot type="default" width="750" 
height="469">http://www.omgubuntu.co.uk/wp-content/uploads/2013/08/music_album.jpeg</screenshot>
+ </screenshots>
+ <url type="homepage">https://wiki.gnome.org/Apps/Music</url>
+ <updatecontact>seif lotfy com</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 2c5d6b2..2690e33 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -4,6 +4,7 @@
 # List of source files which contain translatable strings.
 data/org.gnome.Music.gschema.xml
 data/gnome-music.desktop.in
+data/gnome-music.appdata.xml.in
 gnomemusic/__init__.py
 gnomemusic/albumArtCache.py
 gnomemusic/application.py
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index da8aa7c..0c10c9d 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -1,2 +1,3 @@
 data/headerbar.ui
 data/AboutDialog.ui
+data/gnome-music.appdata.xml


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