Add AppStream metadata

This commit is contained in:
Rafostar
2020-10-31 17:43:20 +01:00
parent 157d2ac8c2
commit 2dfeb160ac
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>com.github.rafostar.Clapper</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<name>Clapper</name>
<summary>A GNOME media player</summary>
<translation type="gettext">com.github.rafostar.Clapper</translation>
<launchable type="desktop-id">com.github.rafostar.Clapper.desktop</launchable>
<description>
<p>
Clapper is a GNOME media player build using GJS with GTK4 toolkit.
The media player is using GStreamer GstPlayer API as a media backend
and renders everything via OpenGL. Player works natively on both
Xorg and Wayland. It also supports VA-API on AMD/Intel GPUs.
</p>
<p>
The media player has an adaptive GUI. When viewing videos in "Windowed Mode",
Clapper will use mostly unmodified GTK widgets to match your OS look nicely.
When player enters "Fullscreen Mode" all GUI elements will become darker, bigger
and semi-transparent for your viewing comfort.
</p>
</description>
<developer_name>Rafał Dzięgiel</developer_name>
<url type="homepage">https://rafostar.github.io/clapper</url>
<url type="bugtracker">https://github.com/Rafostar/clapper/issues</url>
<url type="donation">https://liberapay.com/Clapper</url>
<url type="help">https://github.com/Rafostar/clapper/wiki</url>
<screenshots>
<screenshot type="default">
<image type="source">https://raw.githubusercontent.com/Rafostar/clapper/master/media/screenshot-windowed-mode.png</image>
</screenshot>
<screenshot>
<image type="source">https://raw.githubusercontent.com/Rafostar/clapper/master/media/screenshot-fullscreen-mode.png</image>
</screenshot>
</screenshots>
<releases>
<release version="0.0.0" date="2020-10-31">
<description>
<p>GitHub version</p>
</description>
</release>
</releases>
<content_rating type="oars-1.1" />
</component>

View File

@@ -13,3 +13,6 @@ install_data('com.github.rafostar.Clapper.xml',
install_data('com.github.rafostar.Clapper.desktop', install_data('com.github.rafostar.Clapper.desktop',
install_dir: join_paths(sharedir, 'applications') install_dir: join_paths(sharedir, 'applications')
) )
install_data('com.github.rafostar.Clapper.appdata.xml',
install_dir: join_paths(sharedir, 'metainfo')
)

View File

@@ -109,8 +109,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml %{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/mime/packages/%{appname}.xml %{_datadir}/mime/packages/%{appname}.xml
%{_datadir}/applications/*.desktop %{_datadir}/applications/*.desktop
%{_datadir}/metainfo/*.appdata.xml
%changelog %changelog
* Sat Oct 31 2020 Rafostar <rafostar.github@gmail.com> - 0.0.0-5
- Added metainfo
* Sun Oct 25 2020 Rafostar <rafostar.github@gmail.com> - 0.0.0-4 * Sun Oct 25 2020 Rafostar <rafostar.github@gmail.com> - 0.0.0-4
- Added gschema - Added gschema