Skip to content

Commit d5658d7

Browse files
calyleCoolSpy3
andauthored
chore: add appstream metadata (#6885)
* chore: add appstream metadata * chore: add a comment in the metainfo file * chore(new_version): update metainfo file * chore(mtainfo): add copyright header Co-authored-by: CoolSpy3 <[email protected]> * chore(metainfo): add content_attribute Co-authored-by: CoolSpy3 <[email protected]> * chore(metainfo): add link to metainfo guidelines Co-authored-by: CoolSpy3 <[email protected]> * chore(metainfo): update others Co-authored-by: CoolSpy3 <[email protected]> * chore(metainfo): add changelog link * chore(new_version): update version year --------- Co-authored-by: CoolSpy3 <[email protected]>
1 parent bc96d07 commit d5658d7

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

scripts/new_version/new_version.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,11 @@ then
119119

120120
echo "tests/cache/worlds/backwards_compatibility.wbt should not be modified by this script"
121121
fi
122+
# metainfo
123+
echo "Update metainfo file..."
124+
$CURRENT_DIR/new_version_file.sh $old_version $new_version $WEBOTS_HOME/scripts/packaging/webots.metainfo.xml
125+
$CURRENT_DIR/new_version_file.sh "[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}" "$(date +%F)" $WEBOTS_HOME/scripts/packaging/webots.metainfo.xml
126+
$CURRENT_DIR/new_version_file.sh "Copyright [0-9]\{4\}" "Copyright ${new_version_year}" $WEBOTS_HOME/scripts/packaging/webots.metainfo.xml
127+
if [ $new_version_year -ne $old_version_year ]; then
128+
$CURRENT_DIR/new_version_file.sh "changelog-r${old_version_year}" "changelog-r${new_version_year}" $WEBOTS_HOME/scripts/packaging/webots.metainfo.xml
129+
fi
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- Copyright 2025 Cyberbotics Ltd. -->
3+
<!--
4+
This metainfo file provides metadata about Webots for Flatpak distribution.
5+
It follows the AppStream specification and is required for publishing Webots
6+
on Flathub.
7+
See: https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines
8+
See: https://github.com/flathub/com.cyberbotics.webots
9+
-->
10+
<component type="desktop-application">
11+
<id>com.cyberbotics.webots</id>
12+
<name>Webots</name>
13+
<project_license>Apache-2.0</project_license>
14+
<developer id="com.cyberbotics">
15+
<name>Cyberbotics Ltd.</name>
16+
</developer>
17+
<summary>Webots Robot Simulator</summary>
18+
<description>
19+
<p>
20+
Webots provides a complete development environment to model, program, and simulate robots, vehicles, and mechanical systems. It is a beginner friendly software that is meant to introduce newcomers to the world of robotics.
21+
</p>
22+
<p>
23+
Webots was originally designed at EPFL in 1996 as a research tool for mobile robotics. In 1998, it began being developed and commercialized by Cyberbotics. In December 2018, Webots was open sourced. Since then, Cyberbotics continues to develop Webots thanks to paid customer support, training, and consulting for industry and academic research projects.
24+
</p>
25+
</description>
26+
<metadata_license>CC0-1.0</metadata_license>
27+
<launchable type="desktop-id">com.cyberbotics.webots.desktop</launchable>
28+
<url type="homepage">https://cyberbotics.com</url>
29+
<url type="help">https://github.com/cyberbotics/webots/discussions</url>
30+
<url type="bugtracker">https://github.com/cyberbotics/webots/issues</url>
31+
<url type="contribute">https://github.com/cyberbotics/webots/blob/master/CONTRIBUTING.md</url>
32+
<url type="donation">https://github.com/sponsors/cyberbotics</url>
33+
<screenshots>
34+
<screenshot type="default">
35+
<caption>Main window</caption>
36+
<image>https://raw.githubusercontent.com/cyberbotics/webots/master/docs/guide/images/main_window.png</image>
37+
</screenshot>
38+
</screenshots>
39+
<categories>
40+
<category>Education</category>
41+
<category>Robotics</category>
42+
</categories>
43+
<content_rating type="oars-1.1">
44+
<content_attribute id="social-info">moderate</content_attribute>
45+
</content_rating>
46+
<releases>
47+
<release version="R2025a" date="2025-02-04">
48+
<url>https://cyberbotics.com/doc/reference/changelog-r2025</url>
49+
</release>
50+
</releases>
51+
</component>

0 commit comments

Comments
 (0)