Add a metainfo file

This commit is contained in:
Matthias Klumpp 2017-10-02 23:11:35 +02:00
parent 97b216c5e0
commit 4dda806e6e
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2016 Matthias Klumpp -->
<component type="console-application">
<id>org.freedesktop.appstream.generator</id>
<metadata_license>FSFAP</metadata_license>
<project_license>LGPL-3.0+</project_license>
<name>AppStream Generator</name>
<summary>A fast AppStream metadata generator</summary>
<description>
<p>
AppStream is a cross-distribution specification to provide metadata about software components.
</p>
<p>
The appstream-generator tool generates AppStream metadata from the repositories of a software distribution.
It currently supports the following repository formats / distributions: Debian, Ubuntu, Arch Linux, RPM-MD (Fedora, Mageia).
</p>
<p>
The generator will produce AppStream collection metadata files in the AppStream YAML or XML format to be shipped
to users, as well as a detailed HTML report about found components and HTML and JSON reports on issues detected
with the scanned metadata. It reads .desktop files as well as metainfo files, renders fonts, scales images, caches
screenshots etc. to produce high-quality metadata for AppStream based software centers to consume.
Usually, appstream-generator is integrated with the existing software build &amp; delivery workflow of
a distribution.
</p>
</description>
<url type="homepage">https://github.com/ximion/appstream-generator</url>
<url type="help">https://github.com/ximion/appstream-generator/blob/master/docs/index.md</url>
<project_group>Freedesktop</project_group>
<provides>
<binary>appstream-generator</binary>
</provides>
</component>

View File

@ -222,6 +222,7 @@ subdir('docs')
# data
install_data('data/asgen-hints.json', install_dir: 'share/appstream')
install_data('data/hicolor-theme-index.theme', install_dir: 'share/appstream')
install_data('data/org.freedesktop.appstream.generator.metainfo.xml', install_dir: join_paths (get_option ('datadir'), 'metainfo'))
# templates
#install_subdir('data/templates/', install_dir: 'share/appstream') # FIXME: Doesn't handle dir symlinks correctly