Linux: AppStream metadata validation and minor changes (#1132)
* metainfo: add caption to the main screenshot * metainfo: add link to documentation * metainfo: add link to release notes * ci: validate Linux AppStream metadata
This commit is contained in:
parent
12d17e6644
commit
4e7bf948e0
@ -40,11 +40,12 @@
|
|||||||
<launchable type="desktop-id">@APP_REVERSE_NAME@.desktop</launchable>
|
<launchable type="desktop-id">@APP_REVERSE_NAME@.desktop</launchable>
|
||||||
<screenshots>
|
<screenshots>
|
||||||
<screenshot type="default">
|
<screenshot type="default">
|
||||||
<image>
|
<caption>The main window</caption>
|
||||||
https://raw.githubusercontent.com/martinrotter/rssguard/master/resources/graphics/official_pictures/main-window-linux.png</image>
|
<image>https://raw.githubusercontent.com/martinrotter/rssguard/master/resources/graphics/official_pictures/main-window-linux.png</image>
|
||||||
</screenshot>
|
</screenshot>
|
||||||
</screenshots>
|
</screenshots>
|
||||||
<url type="homepage">https://github.com/martinrotter/rssguard</url>
|
<url type="homepage">https://github.com/martinrotter/rssguard</url>
|
||||||
|
<url type="help">https://rssguard.readthedocs.io</url>
|
||||||
<url type="bugtracker">https://github.com/martinrotter/rssguard/issues</url>
|
<url type="bugtracker">https://github.com/martinrotter/rssguard/issues</url>
|
||||||
<url type="donation">https://github.com/sponsors/martinrotter</url>
|
<url type="donation">https://github.com/sponsors/martinrotter</url>
|
||||||
<url type="translate">https://crowdin.com/project/rssguard</url>
|
<url type="translate">https://crowdin.com/project/rssguard</url>
|
||||||
@ -67,7 +68,9 @@
|
|||||||
<content_rating type="oars-1.0" />
|
<content_rating type="oars-1.0" />
|
||||||
<content_rating type="oars-1.1" />
|
<content_rating type="oars-1.1" />
|
||||||
<releases>
|
<releases>
|
||||||
<release version="@APP_VERSION@" date="@DATE@" />
|
<release version="@APP_VERSION@" date="@DATE@">
|
||||||
|
<url>https://github.com/martinrotter/rssguard/releases/tag/@APP_VERSION@</url>
|
||||||
|
</release>
|
||||||
</releases>
|
</releases>
|
||||||
<provides>
|
<provides>
|
||||||
<binary>@APP_LOW_NAME@</binary>
|
<binary>@APP_LOW_NAME@</binary>
|
||||||
|
@ -34,7 +34,7 @@ if [ $is_linux = true ]; then
|
|||||||
sudo add-apt-repository ppa:beineri/opt-qt-5.15.2-focal -y
|
sudo add-apt-repository ppa:beineri/opt-qt-5.15.2-focal -y
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
|
|
||||||
sudo apt-get -qy install qt515tools qt515base qt515webengine qt515svg qt515multimedia qt515imageformats
|
sudo apt-get -qy install qt515tools qt515base qt515webengine qt515svg qt515multimedia qt515imageformats appstream-util
|
||||||
sudo apt-get -qy install cmake ninja-build openssl libssl-dev libgl1-mesa-dev gstreamer1.0-alsa gstreamer1.0-nice gstreamer1.0-plugins-good gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-qt5 gstreamer1.0-pulseaudio
|
sudo apt-get -qy install cmake ninja-build openssl libssl-dev libgl1-mesa-dev gstreamer1.0-alsa gstreamer1.0-nice gstreamer1.0-plugins-good gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-qt5 gstreamer1.0-pulseaudio
|
||||||
|
|
||||||
# The script below performs some broken testing, which ends up tripping 'set -e'.
|
# The script below performs some broken testing, which ends up tripping 'set -e'.
|
||||||
@ -83,6 +83,9 @@ cmake --build .
|
|||||||
cmake --install . --prefix "$prefix"
|
cmake --install . --prefix "$prefix"
|
||||||
|
|
||||||
if [ $is_linux = true ]; then
|
if [ $is_linux = true ]; then
|
||||||
|
# Validate AppStream metadata.
|
||||||
|
echo 'Validating AppStream metadata...'
|
||||||
|
appstream-util validate-relax "$prefix/share/metainfo/$app_id.metainfo.xml"
|
||||||
# Obtain linuxdeployqt.
|
# Obtain linuxdeployqt.
|
||||||
wget -qc https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
|
wget -qc https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage
|
||||||
chmod a+x linuxdeployqt-continuous-x86_64.AppImage
|
chmod a+x linuxdeployqt-continuous-x86_64.AppImage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user