Skip to content

Commit

Permalink
Corrected and renamed XDG desktop entry and Appstream metainfo XML.
Browse files Browse the repository at this point in the history
Adjusted based on feedback from the Appstream validator (appstreamcli
validate-tree).  Changed metainfo ID and file names to use reverse DNS
notation.  Added categories, homepage URL and icon reference to the
metainfo file.  Changed URLs to SSL secured variants.

This replaces the changes proposed in pull requests MaartenBaert#993 and MaartenBaert#994.
  • Loading branch information
petterreinholdtsen committed May 8, 2024
1 parent c092f3e commit a73533c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ if(WITH_SIMPLESCREENRECORDER)
DESTINATION ${CMAKE_INSTALL_FULL_MANDIR}/man1
)
install(
FILES data/simplescreenrecorder.desktop
FILES data/be.maartenbaert.simplescreenrecorder.desktop
DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/applications
)
install(
FILES data/simplescreenrecorder.metainfo.xml
FILES data/be.maartenbaert.simplescreenrecorder.metainfo.xml
DESTINATION ${CMAKE_INSTALL_FULL_DATADIR}/metainfo
)

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id>simplescreenrecorder.desktop</id>
<id>be.maartenbaert.simplescreenrecorder</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>SimpleScreenRecorder</name>
Expand All @@ -15,19 +15,33 @@
<li>Can also do live streaming (experimental).</li>
</ul>
</description>

<categories>
<category>AudioVideo</category>
<category>Video</category>
<category>Recorder</category>
<category>Qt</category>
</categories>

<launchable type="desktop-id">be.maartenbaert.simplescreenrecorder.desktop</launchable>
<icon type="stock">simplescreenrecorder</icon>
<screenshots>
<screenshot type="default">
<image>http://files.maartenbaert.be/simplescreenrecorder/screenshot01.png</image>
<image>https://files.maartenbaert.be/simplescreenrecorder/screenshot01.png</image>
<caption>The input settings page</caption>
</screenshot>
<screenshot type="default">
<image>http://files.maartenbaert.be/simplescreenrecorder/screenshot02.png</image>
<image>https://files.maartenbaert.be/simplescreenrecorder/screenshot02.png</image>
<caption>The output settings page</caption>
</screenshot>
<screenshot type="default">
<image>http://files.maartenbaert.be/simplescreenrecorder/screenshot03.png</image>
<image>https://files.maartenbaert.be/simplescreenrecorder/screenshot03.png</image>
<caption>The recording page</caption>
</screenshot>
</screenshots>
<url type="homepage">http://www.maartenbaert.be/simplescreenrecorder/</url>
</component>
<url type="homepage">https://www.maartenbaert.be/simplescreenrecorder/</url>
<content_rating type="oars-1.0">
<content_attribute id="social-audio">intense</content_attribute>
<content_attribute id="social-contacts">intense</content_attribute>
</content_rating>
</component>

0 comments on commit a73533c

Please sign in to comment.