[banshee/stable-2.6] data: add a basic AppData file



commit 13139e950889115a619ad15e0ae93ebba1ad2c4e
Author: Andrés G. Aragoneses <knocte gmail com>
Date:   Thu Oct 3 14:27:40 2013 +0200

    data: add a basic AppData file
    
    Adding a very basic AppData [1] file, with only 2 screenshots for now.
    Complying with this FreeDesktop.org standard is required if we want to
    get included in some future app stores such as Fedora's.
    
    Unfortunately I haven't been able to validate the XML data yet, because
    of this compilation problem [2].
    
    [1] http://people.freedesktop.org/~hughsient/appdata/
    [2] https://github.com/hughsie/appdata-tools/issues/10

 data/Makefile.am            |    5 +++++
 data/banshee.appdata.xml.in |   25 +++++++++++++++++++++++++
 po/POTFILES.in              |    1 +
 3 files changed, 31 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 8c84cc4..46df510 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -16,6 +16,11 @@ addin-xml-strings.cs: $(ADDIN_XML_FILES) $(top_srcdir)/build/addin-xml-string-ex
        @echo "  GEN   $@"
        $(MONO) $(top_srcdir)/build/addin-xml-string-extractor.exe $(ADDIN_XML_FILES) > $@
 
+ INTLTOOL_XML_RULE@
+appdatadir = $(datadir)/appdata
+dist_appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+appdata_in_files = banshee.appdata.xml.in
+
 all: addin-xml-strings.cs
 
 EXTRA_DIST = \
diff --git a/data/banshee.appdata.xml.in b/data/banshee.appdata.xml.in
new file mode 100644
index 0000000..e19c5d1
--- /dev/null
+++ b/data/banshee.appdata.xml.in
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2013 Banshee Contributors <banshee-list gnome org> -->
+<application>
+  <id type="desktop">banshee.desktop</id>
+  <licence>CC0</licence><!-- licence of this file, not the program -->
+  <description>
+    <!-- Writing GNOME below, instead of just "Linux", is inclusive of *BSD OSs -->
+    <_p>
+      Banshee is an open source multimedia management and playback application
+      for GNOME, Mac and Windows.
+    </_p>
+
+    <_p>
+      Play your music and videos. Stay entertained and up to date with podcasts
+      and video podcasts.  Sync your Android, iPod, and other devices. We think
+      you'll love Banshee!
+    </_p>
+  </description>
+  <screenshots>
+    <screenshot type="default" width="450" 
height="335">http://banshee.fm/theme/images/slides/scaled/music-450.png</screenshot>
+    <screenshot width="600" 
height="432">http://download.banshee.fm/shots/banshee-190-track-actions.png</screenshot>
+  </screenshots>
+  <url type="homepage">http://banshee.fm/</url>
+  <updatecontact>banshee-list_at_gnome.org</updatecontact>
+</application>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 19669bf..987d644 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -13,6 +13,7 @@ data/audio-profiles/wavpack.xml.in
 data/audio-profiles/wav.xml.in
 data/audio-profiles/wma.xml.in
 data/desktop-files/common.desktop.in
+data/banshee.appdata.xml.in
 libbanshee/banshee-bpmdetector.c
 libbanshee/banshee-ripper.c
 libbanshee/banshee-transcoder.c


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