Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metainfo improvements #728

Merged
merged 7 commits into from
Nov 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions data/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ i18n.merge_file(
)

i18n.merge_file(
input: 'music.appdata.xml.in',
output: meson.project_name() + '.appdata.xml',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
input: 'music.metainfo.xml.in',
output: meson.project_name() + '.metainfo.xml',
po_dir: meson.source_root() / 'po' / 'extra',
type: 'xml',
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo'),
install_dir: get_option('datadir') / 'metainfo',
)

icon_sizes = ['16', '24', '32', '48', '64', '128']
Expand Down
182 changes: 0 additions & 182 deletions data/music.appdata.xml.in

This file was deleted.

96 changes: 96 additions & 0 deletions data/music.metainfo.xml.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2015-2022 elementary, Inc. <contact@elementary.io> -->
<component type="desktop-application">
<id>io.elementary.music</id>
<launchable type="desktop-id">io.elementary.music.desktop</launchable>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-only</project_license>

<name>Music</name>
<summary>Queue and play local audio files</summary>
<description>
<p>Quickly queue up and listen to your local music files without any extra frills. See embedded album artwork. Control playback with media keys or in the system audio indicator.</p>
</description>

<screenshots>
<screenshot type="default">
<caption>Quickly queue up your favorite tracks</caption>
<image>https://raw.githubusercontent.com/elementary/music/7.0.0/data/screenshot.png</image>
</screenshot>
</screenshots>

<branding>
<color type="primary">#f37329</color>
<color type="primary" scheme_preference="light">#cc3b02</color>
<color type="primary" scheme_preference="dark">#ffa154</color>
</branding>

<content_rating type="oars-1.1" />

<provides>
<binary>io.elementary.music</binary>
</provides>

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

<url type="homepage">https://elementary.io/</url>
<url type="bugtracker">https://github.com/elementary/music/issues</url>
<url type="donation">https://elementary.io/get-involved#funding</url>
<url type="help">https://github.com/elementary/music/discussions</url>
<url type="translate">https://l10n.elementary.io/projects/music</url>

<developer_name>elementary, Inc.</developer_name>
<project_group>elementary</project_group>
<update_contact>contact_at_elementary.io</update_contact>

<releases>
<release version="7.0.0" date="2022-05-12" urgency="medium">
<description>
<p>Complete rewrite</p>
</description>
</release>

<release version="5.1.1" date="2021-07-16" urgency="medium">
<description>
<p>Drop support for Last.FM</p>
<p>Updated translations</p>
</description>
</release>

<release version="5.1.0" date="2021-07-13" urgency="medium">
<description>
<p>Fix an issue with saving smart playlists</p>
<p>Drop support for CD-ROM</p>
<p>Dark style support</p>
<p>Minor visual improvements</p>
<p>Updated translations</p>
</description>
</release>

<release version="5.0.5" date="2020-03-04" urgency="medium">
<description>
<p>Fix removing items from the queue</p>
<p>Fix equalizer sliders not properly disabled sometimes</p>
<p>Updated translations</p>
<p>Performance improvements</p>
</description>
</release>

<release version="5.0.4" date="2019-04-17" urgency="medium">
<description>
<p>Removed old gsignond vapi</p>
<p>LibraryWindow: Use Granite.MessageDialog for showing alerts</p>
<p>PlaylistsUtils: Use Gtk.FileChooserNative</p>
<p>Accurately remember window size</p>
<p>Updated translations</p>
</description>
</release>
</releases>
</component>
2 changes: 1 addition & 1 deletion po/extra/POTFILES
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
data/music.appdata.xml.in
data/music.metainfo.xml.in
data/music.desktop.in