Skip to content
This repository has been archived by the owner on Feb 12, 2021. It is now read-only.

Commit

Permalink
Adding appdata support
Browse files Browse the repository at this point in the history
  • Loading branch information
leamas committed Oct 29, 2014
1 parent d972b07 commit ab6afda
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ applinks: unpack
done
ln -s $(lib_to_data)/licenses.xhtml $(DESTDIR)$(app_libdir)

appdata:
mkdir $(DESTDIR)$(datadir)/appdata || echo '(ignored)'
cp appdata.xml $(DESTDIR)$(datadir)/appdata/spotify.xml

syslinks: unpack bundled
@# Match unresolved references found using ldd with system libs
@# in linker cache found using ldconfig -p. Create links and
Expand Down Expand Up @@ -141,7 +145,7 @@ syslinks: unpack bundled
fi \
done || :

desktop: unpack check_sources
desktop: unpack check_sources appdata
@# Install icons, desktop file etc.
@icondir="$(DESTDIR)$(datadir)/icons/hicolor"; \
src_icons="$(DESTDIR)$(app_datadir)/Icons"; \
Expand Down
28 changes: 28 additions & 0 deletions appdata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Alec Leamas <[email protected]> -->
<application>
<id type="desktop">spotify.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>non-redistributable, no changes permitted</project_license>
<name>Spotify Native Linux Client</name>
<summary>Listem to Spotify streaming music </summary>
<description>
<p>
Think of Spotify as your new music collection. Your library. Only this time
your collection is vast: millions of tracks and counting. Spotify comes in
all shapes and sizes, available for your PC, Mac, home audio system and
mobile phone. Wherever you go, your music follows you. And because the music
plays live, there’s no need to wait for downloads and no big dent in your
hard drive.
</p>
<p>
There are are two ways to listen to spotify using linux: Using the web-based
service or using this native client.
</p>
</description>
<screenshots>
<screenshot type="default">http://leamas.fedorapeople.org/lpf-spotify-client/screenshot.png</screenshot>
</screenshots>
<updatecontact>http://bugzilla.rpmfusion.org</updatecontact>
<url type="homepage"> http://www.spotify.com/se/blog/archives/2010/07/12/linux/</url>
</application>

0 comments on commit ab6afda

Please sign in to comment.