data: Rename appdata to metainfo
The appdata file/directory name is deprecated. Also change the desktop component type to desktop-application. Same reason.
This commit is contained in:
parent
20c336b17f
commit
743577757f
3 changed files with 7 additions and 7 deletions
|
|
@ -28,14 +28,14 @@ endif
|
||||||
|
|
||||||
appstream_file = i18n.merge_file(
|
appstream_file = i18n.merge_file(
|
||||||
input: configure_file(
|
input: configure_file(
|
||||||
input: 'org.gnome.Loupe.appdata.xml.in.in',
|
input: 'org.gnome.Loupe.metainfo.xml.in.in',
|
||||||
output: 'org.gnome.Loupe.appdata.xml.in',
|
output: 'org.gnome.Loupe.metainfo.xml.in',
|
||||||
configuration: conf,
|
configuration: conf,
|
||||||
),
|
),
|
||||||
output: '@0@.appdata.xml'.format(app_id),
|
output: '@0@.metainfo.xml'.format(app_id),
|
||||||
po_dir: '../po',
|
po_dir: '../po',
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: iv_datadir / 'appdata'
|
install_dir: iv_datadir / 'metainfo'
|
||||||
)
|
)
|
||||||
|
|
||||||
# appstream_util = find_program('appstream-util', required: false)
|
# appstream_util = find_program('appstream-util', required: false)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<component type="desktop">
|
<component type="desktop-application">
|
||||||
<id>@APP_ID@.desktop</id>
|
<id>@APP_ID@.desktop</id>
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
<project_license>GPL-3.0-or-later</project_license>
|
<project_license>GPL-3.0-or-later</project_license>
|
||||||
|
|
@ -4,7 +4,7 @@ data/gtk/image_view.ui
|
||||||
data/gtk/properties_view.ui
|
data/gtk/properties_view.ui
|
||||||
data/gtk/window.ui
|
data/gtk/window.ui
|
||||||
data/org.gnome.Loupe.desktop.in
|
data/org.gnome.Loupe.desktop.in
|
||||||
data/org.gnome.Loupe.appdata.xml.in
|
data/org.gnome.Loupe.metainfo.xml.in
|
||||||
data/org.gnome.Loupe.gschema.xml
|
data/org.gnome.Loupe.gschema.xml
|
||||||
src/widgets/image_view.rs
|
src/widgets/image_view.rs
|
||||||
src/widgets/properties_view.rs
|
src/widgets/properties_view.rs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue