UI: Improve and update app metainfo file

- Rename from .appdata.xml to the modern .metainfo.xml
- Add a primary branding color (Yami blurple)
- Add "internet" to recommends and supports
- Update developer_id tag to developer name
- Shorten summary
- Remove obsoleted "kudos" tags
- Add a URL to the release tag
This commit is contained in:
Georges Basile Stavracas Neto 2024-03-04 09:38:12 -03:00 committed by Georges Basile Stavracas Neto
parent e1e1b6daab
commit 0cc6068ed4
2 changed files with 29 additions and 10 deletions

View file

@ -22,9 +22,9 @@ if(NOT DEFINED GIT_HASH)
endif()
endif()
configure_file(com.obsproject.Studio.appdata.xml.in com.obsproject.Studio.appdata.xml)
configure_file(com.obsproject.Studio.metainfo.xml.in com.obsproject.Studio.metainfo.xml)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/com.obsproject.Studio.appdata.xml
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/com.obsproject.Studio.metainfo.xml
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/metainfo)
install(FILES com.obsproject.Studio.desktop DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications)

View file

@ -5,8 +5,10 @@
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0-or-later</project_license>
<name>OBS Studio</name>
<developer_name>OBS Project</developer_name>
<summary>Live streaming and video recording software</summary>
<developer id="com.obsproject">
<name>OBS Project</name>
</developer>
<summary>Live stream and record videos</summary>
<description>
<p>Free and open source software for video capturing, recording, and live streaming.</p>
<p>Features:</p>
@ -30,18 +32,35 @@
<url type="bugtracker">https://github.com/obsproject/obs-studio/issues</url>
<url type="donation">https://obsproject.com/contribute</url>
<url type="translate">https://crowdin.com/project/obs-studio</url>
<recommends>
<internet>always</internet>
<control>pointing</control>
<control>keyboard</control>
</recommends>
<supports>
<internet>offline-only</internet>
<control>touch</control>
</supports>
<screenshots>
<screenshot type="default">
<image>https://obsproject.com/assets/images/OBSDemoApp2610.png</image>
<image>https://obsproject.com/assets/images/OBSDemoApp301Flathub.png</image>
<caption>The OBS Studio window showing a card game, the project website, a video, and a purple rectangle</caption>
</screenshot>
</screenshots>
<branding>
<color type="primary">#284cb8</color>
</branding>
<content_rating type="oars-1.1"/>
<kudos>
<kudo>ModernToolkit</kudo>
<kudo>HiDpiIcon</kudo>
</kudos>
<releases>
<release version="@OBS_VERSION@" date="@APPDATA_RELEASE_DATE@"/>
<release version="@OBS_VERSION@" date="@APPDATA_RELEASE_DATE@">
<url type="details">https://github.com/obsproject/obs-studio/releases/tag/@OBS_VERSION@</url>
</release>
</releases>
<custom>
<value key="flathub::manifest">https://github.com/obsproject/obs-studio/blob/@GIT_HASH@/build-aux/</value>