mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
meson: Add an appdata and a validation test
This adds an appdata, installs it and adds a test to validate it.
This commit is contained in:
parent
d78799708c
commit
6755d97711
2 changed files with 72 additions and 0 deletions
|
@ -11,6 +11,18 @@ if desktop_utils.found()
|
|||
)
|
||||
endif
|
||||
|
||||
# Appdata file
|
||||
install_data('sm.puri.Calls.appdata.xml',
|
||||
install_dir: join_paths(datadir, 'metainfo'),
|
||||
)
|
||||
|
||||
appstream_util = find_program('appstream-util', required: false)
|
||||
if appstream_util.found()
|
||||
test('Validate appstream file', appstream_util,
|
||||
args: ['validate-relax', 'sm.puri.Calls.appdata.xml']
|
||||
)
|
||||
endif
|
||||
|
||||
# Icons
|
||||
install_data('sm.puri.Calls.png',
|
||||
install_dir : join_paths(datadir, 'icons', 'hicolor', '256x256', 'apps'))
|
||||
|
|
60
data/sm.puri.Calls.appdata.xml
Normal file
60
data/sm.puri.Calls.appdata.xml
Normal file
|
@ -0,0 +1,60 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<component type="desktop">
|
||||
<id>sm.puri.Calls.desktop</id>
|
||||
<metadata_license>CC0</metadata_license>
|
||||
<project_license>GPL-3.0+</project_license>
|
||||
<name>Calls</name>
|
||||
<summary>A phone dialer and call handler</summary>
|
||||
|
||||
<description>Calls is a simple, elegant phone dialer and call handler built using GTK+ 3.</description>
|
||||
|
||||
<url type="homepage">https://gitlab.gnome.org/Community/Purism/calls</url>
|
||||
<url type="bugtracker">https://gitlab.gnome.org/Community/Purism/calls/issues</url>
|
||||
|
||||
<project_group>GNOME</project_group>
|
||||
<developer_name>Purism Developers</developer_name>
|
||||
|
||||
<kudos>
|
||||
<kudo>ModernToolkit</kudo>
|
||||
</kudos>
|
||||
|
||||
<categories>
|
||||
<category>Audio</category>
|
||||
</categories>
|
||||
|
||||
<content_rating type="oars-1.1">
|
||||
<content_attribute id="violence-cartoon">none</content_attribute>
|
||||
<content_attribute id="violence-fantasy">none</content_attribute>
|
||||
<content_attribute id="violence-realistic">none</content_attribute>
|
||||
<content_attribute id="violence-bloodshed">none</content_attribute>
|
||||
<content_attribute id="violence-sexual">none</content_attribute>
|
||||
<content_attribute id="violence-desecration">none</content_attribute>
|
||||
<content_attribute id="violence-slavery">none</content_attribute>
|
||||
<content_attribute id="violence-worship">none</content_attribute>
|
||||
<content_attribute id="drugs-alcohol">none</content_attribute>
|
||||
<content_attribute id="drugs-narcotics">none</content_attribute>
|
||||
<content_attribute id="drugs-tobacco">none</content_attribute>
|
||||
<content_attribute id="sex-nudity">none</content_attribute>
|
||||
<content_attribute id="sex-themes">none</content_attribute>
|
||||
<content_attribute id="sex-homosexuality">none</content_attribute>
|
||||
<content_attribute id="sex-prostitution">none</content_attribute>
|
||||
<content_attribute id="sex-adultery">none</content_attribute>
|
||||
<content_attribute id="sex-appearance">none</content_attribute>
|
||||
<content_attribute id="language-profanity">none</content_attribute>
|
||||
<content_attribute id="language-humor">none</content_attribute>
|
||||
<content_attribute id="language-discrimination">none</content_attribute>
|
||||
<content_attribute id="social-chat">none</content_attribute>
|
||||
<content_attribute id="social-info">none</content_attribute>
|
||||
<content_attribute id="social-audio">intense</content_attribute>
|
||||
<content_attribute id="social-location">none</content_attribute>
|
||||
<content_attribute id="social-contacts">none</content_attribute>
|
||||
<content_attribute id="money-purchasing">none</content_attribute>
|
||||
<content_attribute id="money-gambling">none</content_attribute>
|
||||
</content_rating>
|
||||
|
||||
<releases>
|
||||
<release version="0.0.0" date="2018-05-04">
|
||||
<description>Pre-release development</description>
|
||||
</release>
|
||||
</releases>
|
||||
</component>
|
Loading…
Reference in a new issue