mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
Merge branch 'fix-appdata' into 'master'
appdata: Improve appdata for AppStream 1.0 See merge request GNOME/sysprof!86
This commit is contained in:
@ -8,13 +8,24 @@ if get_option('gtk') and get_option('libsysprof')
|
|||||||
output: 'org.gnome.Sysprof.appdata.xml.in',
|
output: 'org.gnome.Sysprof.appdata.xml.in',
|
||||||
configuration: config_h,
|
configuration: config_h,
|
||||||
)
|
)
|
||||||
i18n.merge_file(
|
appdata_file = i18n.merge_file(
|
||||||
input: appdata_in,
|
input: appdata_in,
|
||||||
output: '@0@.appdata.xml'.format(app_id),
|
output: '@0@.appdata.xml'.format(app_id),
|
||||||
po_dir: podir,
|
po_dir: podir,
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: join_paths(datadir, 'metainfo')
|
install_dir: join_paths(datadir, 'metainfo')
|
||||||
)
|
)
|
||||||
|
# Validate Appdata
|
||||||
|
appstreamcli = find_program('appstreamcli', required: false)
|
||||||
|
if appstreamcli.found()
|
||||||
|
test(
|
||||||
|
'validate-appdata', appstreamcli,
|
||||||
|
args: [
|
||||||
|
'validate', '--no-net', '--explain', appdata_file
|
||||||
|
],
|
||||||
|
depends: appdata_file,
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
desktop_in = configure_file(
|
desktop_in = configure_file(
|
||||||
input: 'org.gnome.Sysprof.desktop.in.in',
|
input: 'org.gnome.Sysprof.desktop.in.in',
|
||||||
|
|||||||
@ -7,7 +7,9 @@
|
|||||||
<summary>Profile an application or entire system</summary>
|
<summary>Profile an application or entire system</summary>
|
||||||
<project_license>GPL-3.0+</project_license>
|
<project_license>GPL-3.0+</project_license>
|
||||||
<project_group>GNOME</project_group>
|
<project_group>GNOME</project_group>
|
||||||
<developer_name>The GNOME Foundation</developer_name>
|
<developer id="gnome.org">
|
||||||
|
<name>The GNOME Project</name>
|
||||||
|
</developer>
|
||||||
|
|
||||||
<description>
|
<description>
|
||||||
<p>Sysprof allows you to profile applications to aid in debugging and optimization.</p>
|
<p>Sysprof allows you to profile applications to aid in debugging and optimization.</p>
|
||||||
@ -41,7 +43,10 @@
|
|||||||
</provides>
|
</provides>
|
||||||
|
|
||||||
<releases>
|
<releases>
|
||||||
<release version="45.beta" date="2023-08-07"/>
|
<release version="45.1" date="2023-10-24"/>
|
||||||
|
<release version="45" date="2023-09-17"/>
|
||||||
|
<release version="45~rc" date="2023-09-01"/>
|
||||||
|
<release version="45~beta" date="2023-08-07"/>
|
||||||
</releases>
|
</releases>
|
||||||
|
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
|||||||
Reference in New Issue
Block a user