Merge pull request #7938 from Mailaender/appdata

Added Linux app store data metadata
This commit is contained in:
Oliver Brakmann
2015-05-10 16:02:43 +02:00
3 changed files with 54 additions and 0 deletions

View File

@@ -380,6 +380,10 @@ install-linux-mime:
@$(INSTALL_DIR) "$(DESTDIR)$(datadir)/applications"
@$(INSTALL_DATA) packaging/linux/openra-replays.desktop "$(DESTDIR)$(datadir)/applications"
install-linux-appdata:
@$(INSTALL_DIR) "$(DESTDIR)$(datadir)/appdata/"
@$(INSTALL_DATA) packaging/linux/openra.appdata.xml "$(DESTDIR)$(datadir)/appdata/"
install-linux-scripts:
@echo "#!/bin/sh" > openra
@echo 'cd "$(gameinstalldir)"' >> openra
@@ -416,6 +420,7 @@ uninstall:
@-$(RM_F) "$(DESTDIR)$(datadir)/icons/hicolor/64x64/apps/openra.png"
@-$(RM_F) "$(DESTDIR)$(datadir)/icons/hicolor/128x128/apps/openra.png"
@-$(RM_F) "$(DESTDIR)$(datadir)/mime/packages/openra.xml"
@-$(RM_F) "$(DESTDIR)$(datadir)/appdata/openra.appdata.xml"
help:
@echo to compile, run:

View File

@@ -23,6 +23,7 @@ make install-all prefix="/usr" DESTDIR="$PWD/packaging/linux/$ROOTDIR"
# Install startup scripts, desktop files and icons
make install-linux-shortcuts prefix="/usr" DESTDIR="$PWD/packaging/linux/$ROOTDIR"
make install-linux-mime prefix="/usr" DESTDIR="$PWD/packaging/linux/$ROOTDIR"
make install-linux-appdata prefix="/usr" DESTDIR="$PWD/packaging/linux/$ROOTDIR"
# Documentation
mkdir -p $PWD/packaging/linux/$ROOTDIR/usr/share/doc/openra/

View File

@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>openra.desktop</id>
<pkgname>openra</pkgname>
<name>OpenRA</name>
<project_license>GPL-3.0</project_license>
<summary>Reimagining of early Westwood real-time strategy games</summary>
<developer_name>The OpenRA developers</developer_name>
<description>
<p>
OpenRA is a Libre/Free Real Time Strategy project
that recreates the classic Command &amp; Conquer titles.
</p>
<p>
It includes recreations of Tiberian Dawn, Red Alert,
and Dune 2000. These are not intended to be perfect
copies, but instead combine the classic gameplay of
the originals with modern improvements such as unit
veterancy and the fog of war.
</p>
</description>
<url type="bugtracker">http://bugs.openra.net</url>
<url type="donation">https://www.bountysource.com/teams/openra</url>
<url type="faq">http://wiki.openra.net/FAQ</url>
<url type="help">http://wiki.openra</url>
<url type="homepage">http://www.openra</url>
<icon type="cached">openra.png</icon>
<icon type="remote" width="128" height="138">http://www.openra.net/images/soviet-logo-fallback.png</icon>
<icon type="local" width="128" height="128">/usr/share/icons/hicolor/128x128/apps/openra.png</icon>
<categories>
<category>Game</category>
<category>StrategyGame</category>
</categories>
<screenshots>
<screenshot type="default">
<caption>Red Alert mod</caption>
<image height="296" width="196">http://www.openra.net/images/appdata/ra.png</image>
</screenshot>
<screenshot>
<caption>Tiberian Dawn mod</caption>
<image height="296" width="196">http://www.openra.net/images/appdata/cnc.png</image>
</screenshot>
<screenshot>
<caption>Dune 2000 mod</caption>
<image height="296" width="196">http://www.openra.net/images/appdata/d2k.png</image>
</screenshot>
</screenshots>
</component>