Skip to content

Commit

Permalink
Metainfo: modernize, organize, add missing tags (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored Jul 18, 2024
1 parent 175ab45 commit b596086
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2019 elementary, Inc. <[email protected]> -->
<!-- Copyright 2019-2024 elementary, Inc. <[email protected]> -->
<component type="addon">
<id>io.elementary.wingpanel.applications-menu</id>
<translation type="gettext">slingshot</translation>
<extends>io.elementary.wingpanel</extends>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<compulsory_for_desktop>Pantheon</compulsory_for_desktop>

<icon type="stock">preferences-desktop-applications</icon>
<name>Applications Menu</name>
<summary>Open and search for apps</summary>

<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/elementary/applications-menu/master/data/screenshot.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/elementary/applications-menu/master/data/screenshot-dark.png</image>
</screenshot>
</screenshots>

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

<developer id="org.elementaryos">
<name>elementary, Inc.</name>
</developer>
<project_group>elementary</project_group>
<update_contact>contact_at_elementary.io</update_contact>

<releases>
<release version="2.11.1" date="2022-12-11" urgency="medium">
<description>
Expand Down Expand Up @@ -76,25 +103,4 @@
</description>
</release>
</releases>

<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/elementary/applications-menu/master/data/screenshot.png</image>
</screenshot>
<screenshot>
<image>https://raw.githubusercontent.com/elementary/applications-menu/master/data/screenshot-dark.png</image>
</screenshot>
</screenshots>
<developer id="org.elementaryos">
<name>elementary, Inc.</name>
</developer>
<url type="homepage">https://elementary.io/</url>
<url type="bugtracker">https://github.com/elementary/applications-menu/issues</url>
<url type="donation">https://elementary.io/get-involved#funding</url>
<url type="help">https://elementaryos.stackexchange.com/questions/tagged/applications-menu</url>
<url type="translate">https://l10n.elementary.io/projects/wingpanel/applications-menu/</url>
<update_contact>contact_AT_elementary.io</update_contact>
<metadata_license>CC0-1.0</metadata_license>
<project_group>elementary</project_group>
<project_license>GPL-3.0+</project_license>
</component>
10 changes: 5 additions & 5 deletions data/meson.build
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
i18n.merge_file(
input: 'applications-menu.appdata.xml.in',
output: 'io.elementary.wingpanel.applications-menu.appdata.xml',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
input: 'applications-menu.metainfo.xml.in',
output: 'io.elementary.wingpanel.applications-menu.metainfo.xml',
po_dir: meson.source_root() / 'po' / 'extra',
type: 'xml',
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo'),
install_dir: datadir / 'metainfo',
)

install_data(
'io.elementary.desktop.wingpanel.applications-menu.gschema.xml',
install_dir: join_paths(datadir, 'glib-2.0', 'schemas')
install_dir: datadir / 'glib-2.0' / 'schemas'
)

2 changes: 1 addition & 1 deletion po/extra/POTFILES
Original file line number Diff line number Diff line change
@@ -1 +1 @@
data/applications-menu.appdata.xml.in
data/applications-menu.metainfo.xml.in

0 comments on commit b596086

Please sign in to comment.