Project

General

Profile

Feature #713 ยป 0019-Add-sdl3-client-metainfo-file.patch

Marko Lindqvist, 07/02/2024 10:39 PM

View differences:

bootstrap/Makefile.am
org.freeciv.gtk4.metainfo.xml.in \
org.freeciv.gtk4x.metainfo.xml.in \
org.freeciv.sdl2.metainfo.xml.in \
org.freeciv.sdl3.metainfo.xml.in \
org.freeciv.qt.metainfo.xml.in \
org.freeciv.server.metainfo.xml.in \
org.freeciv.gtk3.mp.metainfo.xml.in \
bootstrap/org.freeciv.sdl3.metainfo.xml.in
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<name>Freeciv SDL3 client</name>
<id>org.freeciv.sdl3</id>
<project_license>GPL-2.0-or-later</project_license>
<metadata_license>CC0</metadata_license>
<developer id="org.freeciv">
<name>Freeciv Team</name>
</developer>
<summary>SDL3 based client for the Freeciv game</summary>
<description>
<p>
Freeciv is a Free and Open Source empire-building strategy game inspired by the history of human civilization. The game commences in prehistory and your
mission is to lead your tribe from the Stone Age to the Space Age...
</p>
<p>
This client for connecting to network games, or to launch local single-player games, is based on SDL3.
</p>
</description>
<launchable type="desktop-id">org.freeciv.sdl3.desktop</launchable>
<url type="homepage">https://www.freeciv.org/</url>
<url type="bugtracker">https://osdn.net/projects/freeciv/ticket/</url>
<url type="faq">https://www.freeciv.org/wiki/FAQ</url>
<url type="donation">https://www.freeciv.org/donate.html</url>
<url type="translate">https://www.freeciv.org/wiki/Translations</url>
<url type="contact">https://www.freeciv.org/maillists.html</url>
<!-- flatpak does not understand these
<url type="vcs-browser">https://github.com/freeciv/freeciv/</url>
<url type="contribute">https://www.freeciv.org/wiki/How_to_Contribute</url>
-->
<releases>
[release]
</releases>
<content_rating type="oars-1.0">
<content_attribute id="social-chat">intense</content_attribute>
</content_rating>
<recommends>
<display_length compare="ge">640</display_length>
</recommends>
<screenshots>
<screenshot type="default">
<image>https://files.freeciv.org/screenshots/3.0/client.sdl2-3.0.4.png</image>
</screenshot>
</screenshots>
<update_contact>freeciv-dev@freelists.org</update_contact>
</component>
meson.build
install_dir : join_paths(get_option('prefix'), 'share/applications')
)
#custom_target('mi_sdl3',
# input: 'bootstrap/org.freeciv.sdl3.metainfo.xml.in',
# output: '@BASENAME@',
# command: [sh_exe, files('bootstrap/generate_metainfo.sh'),
# '@OUTPUT@', b_root, 'development'],
# depend_files: files('fc_version'),
# install: true,
# install_dir: join_paths(get_option('datadir'), 'metainfo'))
custom_target('mi_sdl3',
input: 'bootstrap/org.freeciv.sdl3.metainfo.xml.in',
output: '@BASENAME@',
command: [sh_exe, files('bootstrap/generate_metainfo.sh'),
'@OUTPUT@', b_root, 'development'],
depend_files: files('fc_version'),
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo'))
endif
    (1-1/1)