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

Add appdata #25

Merged
merged 10 commits into from
Nov 24, 2020
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions data/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
i18n.merge_file(
input: 'privacy.appdata.xml.in',
output: 'io.elementary.wingpanel.privacy.appdata.xml',
po_dir: join_paths(meson.source_root(), 'po', 'extra'),
meisenzahl marked this conversation as resolved.
Show resolved Hide resolved
type: 'xml',
install: true,
install_dir: join_paths(get_option('datadir'), 'metainfo'),
)
26 changes: 26 additions & 0 deletions data/privacy.appdata.xml.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2020 elementary, Inc. <contact@elementary.io> -->
<component type="addon">
<id>io.elementary.wingpanel.privacy</id>
<extends>io.elementary.wingpanel</extends>
<name>Privacy Indicator</name>
<summary>Warns of privacy related events</summary>
<icon type="stock">preferences-system-privacy</icon>
<releases>
</releases>
<screenshots>
<screenshot type="default">
<image>https://raw.githubusercontent.com/elementary/wingpanel-indicator-privacy/master/data/screenshot.png</image>
</screenshot>
</screenshots>
<developer_name>elementary, Inc.</developer_name>
<url type="homepage">https://elementary.io/</url>
<url type="bugtracker">https://github.com/elementary/wingpanel-indicator-privacy/issues/new/choose</url>
<url type="donation">https://elementary.io/get-involved#funding</url>
<url type="help">https://elementaryos.stackexchange.com/questions/tagged/wingpanel</url>
<url type="translate">https://l10n.elementary.io/projects/wingpanel/wingpanel-indicator-privacy/</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>
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ shared_module(
install_dir : wingpanel_indicatorsdir,
)

subdir('data')
subdir('po')
Empty file added po/extra/LINGUAS
Empty file.
1 change: 1 addition & 0 deletions po/extra/POTFILES
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
data/privacy.appdata.xml.in
5 changes: 5 additions & 0 deletions po/extra/meson.build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
i18n.gettext('extra',
args: '--directory=' + meson.source_root(),
preset: 'glib',
install: false,
)
5 changes: 4 additions & 1 deletion po/meson.build
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
i18n.gettext(gettext_name,
args: ['--directory=' + meson.source_root(), '--from-code=UTF-8']
args: '--directory=' + meson.source_root(),
preset: 'glib'
)

subdir('extra')