From 3d23897af0ab62b42b41f8e95ace3915443f9997 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 12 Apr 2015 16:18:11 +0200 Subject: [PATCH] install Linux app store data metadata --- Makefile | 5 ++++ packaging/linux/buildpackage.sh | 1 + packaging/linux/openra.appdata.xml | 48 ++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 packaging/linux/openra.appdata.xml diff --git a/Makefile b/Makefile index 604e31053d..3813dc0b5a 100644 --- a/Makefile +++ b/Makefile @@ -378,6 +378,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 @@ -414,6 +418,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: diff --git a/packaging/linux/buildpackage.sh b/packaging/linux/buildpackage.sh index 944e4fb754..9954c8b63a 100755 --- a/packaging/linux/buildpackage.sh +++ b/packaging/linux/buildpackage.sh @@ -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/ diff --git a/packaging/linux/openra.appdata.xml b/packaging/linux/openra.appdata.xml new file mode 100644 index 0000000000..7f174de3ca --- /dev/null +++ b/packaging/linux/openra.appdata.xml @@ -0,0 +1,48 @@ + + + openra.desktop + openra + OpenRA + GPL-3.0 + Reimagining of early Westwood real-time strategy games + The OpenRA developers + +

+ OpenRA is a Libre/Free Real Time Strategy project + that recreates the classic Command & Conquer titles. +

+

+ 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. +

+
+ http://bugs.openra.net + https://www.bountysource.com/teams/openra + http://wiki.openra.net/FAQ + http://wiki.openra + http://www.openra + openra.png + http://www.openra.net/images/soviet-logo-fallback.png + /usr/share/icons/hicolor/128x128/apps/openra.png + +​ Game +​ StrategyGame +​ + + + Red Alert mod + http://www.openra.net/images/appdata/ra.png + + + Tiberian Dawn mod + http://www.openra.net/images/appdata/cnc.png + + + Dune 2000 mod + http://www.openra.net/images/appdata/d2k.png + + +