Commit 5234c2e4 authored by Michael Catanzaro's avatar Michael Catanzaro

Remove metainfo file

Tour is not an app because it has NoDisplay=true in its desktop file. Therefore, it should not install appstream metainfo. This could be brought back in the future if the desktop file is made visible. See discussion in: https://gitlab.gnome.org/GNOME/gnome-software/-/issues/445
parent 34c24f8a
......@@ -25,31 +25,6 @@ if desktop_file_validate.found()
)
endif
# Appdata
appdata_conf = configuration_data()
appdata_conf.set('app-id', application_id)
appdata_conf.set('gettext-package', gettext_package)
appdata_file = i18n.merge_file (
input: configure_file(
input: '@0@.metainfo.xml.in.in'.format(base_id),
output: '@BASENAME@',
configuration: appdata_conf
),
output: '@0@.metainfo.xml'.format(application_id),
po_dir: podir,
install: true,
install_dir: datadir / 'metainfo'
)
# Validate Appdata
if appstream_util.found()
test(
'validate-appdata', appstream_util,
args: [
'validate', '--nonet', appdata_file.full_path()
]
)
endif
# Resources
resources = gnome.compile_resources(
'resources',
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- Bilal Elmoussaoui 2020 <bilal.elmoussaoui@gnome.org> -->
<component type="desktop-application">
<id>@app-id@</id>
<metadata_license>CC0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Tour</name>
<summary>GNOME Tour and Greeter.</summary>
<description>
<p>A guided tour and greeter for GNOME.</p>
</description>
<screenshots>
<screenshot type="default">
<image>https://gitlab.gnome.org/GNOME/gnome-tour/raw/master/data/resources/screenshots/screenshot1.png</image>
<caption>Main Window</caption>
</screenshot>
</screenshots>
<url type="homepage">https://gitlab.gnome.org/GNOME/gnome-tour</url>
<url type="bugtracker">https://gitlab.gnome.org/GNOME/gnome-tour/issues</url>
<url type="donation">http://www.gnome.org/friends/</url>
<content_rating type="oars-1.0" />
<releases>
<release version="3.38.0" date="2020-09-15" />
<release version="3.37.92" date="2020-09-08" type="developement" />
<release version="3.37.91" date="2020-08-21" type="developement" />
<release version="0.0.1" date="2020-03-01" />
</releases>
<kudos>
<!--
GNOME Software kudos:
https://gitlab.gnome.org/GNOME/gnome-software/blob/master/doc/kudos.md
-->
<kudo>ModernToolkit</kudo>
<kudo>HiDpiIcon</kudo>
</kudos>
<project_group>GNOME</project_group>
<developer_name>The GNOME Project</developer_name>
<update_contact>bilal.elmoussaoui@gnome.org</update_contact>
<translation type="gettext">@gettext-package@</translation>
<launchable type="desktop-id">@app-id@.desktop</launchable>
</component>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment