GTK: Add a metainfo file for Flathub

This commit is contained in:
Emmanuel Gil Peyrot 2020-11-04 01:28:41 +01:00
parent 79515e978e
commit 7a7c1fbfc3
3 changed files with 39 additions and 1 deletions

View File

@ -35,6 +35,7 @@ executable('desmume',
install: true,
)
install_data('desmume.desktop', install_dir: join_paths(get_option('datadir'), 'applications'))
install_data('org.desmume.DeSmuME.desktop', install_dir: join_paths(get_option('datadir'), 'applications'))
install_data('org.desmume.DeSmuME.metainfo.xml', install_dir: join_paths(get_option('datadir'), 'metainfo'))
install_data('DeSmuME.svg', install_dir: join_paths(get_option('datadir'), 'pixmaps'))
install_data('doc/desmume.1', install_dir: join_paths(get_option('datadir'), 'man', 'man1'))

View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.desmume.DeSmuME</id>
<name>DeSmuME</name>
<summary>Nintendo DS emulator</summary>
<project_license>GPL-2.0-or-later</project_license>
<metadata_license>CC0-1.0</metadata_license>
<developer_name>DeSmuME Team</developer_name>
<update_contact>linkmauve_AT_linkmauve.fr</update_contact>
<launchable type="desktop-id">org.desmume.DeSmuME.desktop</launchable>
<url type="homepage">http://desmume.org</url>
<url type="bugtracker">https://github.com/TASVideos/desmume/issues</url>
<description>
<p>
DeSmuME is a Nintendo DS emulator.
</p>
</description>
<provides>
<binary>desmume</binary>
</provides>
<screenshots>
<screenshot type="default">
<image>https://linkmauve.fr/files/desmume-pokémon.png</image>
<caption>DeSmuME running Pokémon Heart Gold</caption>
</screenshot>
</screenshots>
<releases>
<release version="0.9.11" date="2015-04-15"/>
</releases>
<content_rating type="oars-1.1"/>
</component>