Skip to content

Commit

Permalink
Add <releases> to appdata
Browse files Browse the repository at this point in the history
Submitted upstream at MegaGlest/megaglest-data#28
  • Loading branch information
wjt committed Nov 26, 2019
1 parent 3ab6af5 commit c3a3185
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
43 changes: 43 additions & 0 deletions appdata-Add-releases-section.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
From 3a3679d0c2ebafa5cec3e90a484974add4d05269 Mon Sep 17 00:00:00 2001
From: Will Thompson <[email protected]>
Date: Tue, 26 Nov 2019 10:53:54 +0000
Subject: [PATCH] appdata: Add <releases> section

This is used by applications like GNOME Software to show release notes,
by Flatpak to determine the human-facing version number for the
application, and is now mandatory for applications on Flathub.

https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-releases
---
others/appdata/megaglest.appdata.xml | 15 +++++++++++++++
1 file changed, 15 insertions(+)

diff --git a/others/appdata/megaglest.appdata.xml b/others/appdata/megaglest.appdata.xml
index 886d282d..a42f6ae5 100644
--- a/others/appdata/megaglest.appdata.xml
+++ b/others/appdata/megaglest.appdata.xml
@@ -37,6 +37,21 @@
<url type="translate">http://translate.megaglest.org</url>
<developer_name>The MegaGlest Team</developer_name>
<update_contact>contact_at_megaglest.org</update_contact>
+ <releases>
+ <release version="3.13.0" date="2017-03-09">
+ <url>https://megaglest.org/news/44/17/MegaGlest-3.13.0-released</url>
+ <description>
+ <p>The MegaGlest team is proud to release v3.13.0. Notable improvements to this release include:</p>
+ <ul>
+ <li>Multi-building select and key-binding for production of units</li>
+ <li>Buildings of the same type can be added to a control group, which means multiple units can be produced with a single click</li>
+ <li>A crash (out of sync) that sometimes happened when playing with Fog-of-War disabled has been fixed</li>
+ <li>Improved AI behavior</li>
+ <li>To help keep multi-player games more balanced and to ensure that players are practiced enough to harvest resources and beat a normal CPU, a scenario is automatically launched the first time a user tries to enter the lobby. The scenario must be won before the player can actually enter the lobby.</li>
+ </ul>
+ </description>
+ </release>
+ </releases>
<content_rating type="oars-1.0">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">moderate</content_attribute>
--
2.20.1

4 changes: 4 additions & 0 deletions org.megaglest.MegaGlest.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
"type": "archive",
"url": "https://github.com/MegaGlest/megaglest-data/releases/download/3.13.0/megaglest-data-3.13.0.tar.xz",
"sha256": "43de3ca668f0419e84ec6b37fa41dd6eb88052752a8a11f5e02ea13f86faef46"
},
{
"type": "patch",
"path": "appdata-Add-releases-section.patch"
}
]
}
Expand Down

0 comments on commit c3a3185

Please sign in to comment.