Skip to content

Commit

Permalink
Metainfo: modernize (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Feb 2, 2023
1 parent faf2619 commit e2e3558
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 48 deletions.
4 changes: 2 additions & 2 deletions data/meson.build
Expand Up @@ -26,8 +26,8 @@ i18n.merge_file(
)

i18n.merge_file(
input: meson.project_name() + '.appdata.xml.in',
output: meson.project_name() + '.appdata.xml',
input: 'torrential.metainfo.xml.in',
output: meson.project_name() + '.metainfo.xml',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo')
Expand Down
@@ -1,15 +1,56 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2017-2021 David Hewitt <davidmhewitt@gmail.com> -->
<component type="desktop">
<component type="desktop-application">
<id>com.github.davidmhewitt.torrential</id>
<launchable type="desktop-id">com.github.davidmhewitt.torrential.desktop</launchable>
<translation type="gettext">com.github.davidmhewitt.torrential</translation>
<metadata_license>CC0</metadata_license>
<project_license>GPL-2.0</project_license>

<name>Torrential</name>
<summary>Download torrents in style</summary>
<description>
<p>A speedy, no-frills torrent client. Comes with a sane set of default options and none of the overwhelming information you don't need.</p>
</description>

<screenshots>
<screenshot type="default">
<image>https://github.com/davidmhewitt/torrential/raw/main/data/com.github.davidmhewitt.torrential.screenshot.png</image>
</screenshot>
</screenshots>

<branding>
<color type="primary">#E0F7FF</color>
</branding>

<content_rating type="oars-1.1" />

<provides>
<binary>com.github.davidmhewitt.torrential</binary>
</provides>

<recommends>
<display_length compare="ge">866</display_length>
</recommends>
<supports>
<control>pointing</control>
<control>keyboard</control>
<control>touch</control>
</supports>

<url type="homepage">https://github.com/davidmhewitt/torrential</url>
<url type="bugtracker">https://github.com/davidmhewitt/torrential/issues</url>
<url type="help">https://github.com/davidmhewitt/torrential/issues</url>
<url type="donation">https://github.com/sponsors/davidmhewitt</url>

<developer_name>David Hewitt</developer_name>

<custom>
<value key="x-appcenter-color-primary">rgb(224,247,255)</value>
<value key="x-appcenter-suggested-price">3</value>
<value key="x-appcenter-stripe">pk_live_udV1gtwCOlzKm5Wvk1q9ke72</value>
</custom>

<releases>
<release version="2.0.1" date="2021-12-08">
<description>
Expand Down Expand Up @@ -88,48 +129,4 @@
</description>
</release>
</releases>
<custom>
<value key="x-appcenter-color-primary">rgb(224,247,255)</value>
<value key="x-appcenter-color-primary-text">#000</value>
<value key="x-appcenter-suggested-price">3</value>
<value key="x-appcenter-stripe">pk_live_udV1gtwCOlzKm5Wvk1q9ke72</value>
</custom>
<screenshots>
<screenshot type="default">
<image>https://github.com/davidmhewitt/torrential/raw/main/data/com.github.davidmhewitt.torrential.screenshot.png</image>
</screenshot>
</screenshots>
<developer_name>David Hewitt</developer_name>
<url type="homepage">https://github.com/davidmhewitt/torrential</url>
<url type="bugtracker">https://github.com/davidmhewitt/torrential/issues</url>
<url type="help">https://github.com/davidmhewitt/torrential/issues</url>
<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">none</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>
</component>
2 changes: 1 addition & 1 deletion po/extra/POTFILES
@@ -1,2 +1,2 @@
data/com.github.davidmhewitt.torrential.desktop.in
data/com.github.davidmhewitt.torrential.appdata.xml.in
data/torrential.metainfo.xml.in

0 comments on commit e2e3558

Please sign in to comment.