mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-05-16 13:40:18 +00:00
Compare commits
3 Commits
b9ff051043
...
5ff704459c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5ff704459c | ||
|
|
0ccc730d85 | ||
|
|
093ffe791e |
@@ -13,10 +13,10 @@ if get_option('gtk-frontend')
|
|||||||
install_dir: metainfodir
|
install_dir: metainfodir
|
||||||
)
|
)
|
||||||
|
|
||||||
appstream_util = find_program('appstream-util', required: false)
|
appstreamcli = find_program('appstreamcli', required: false)
|
||||||
if appstream_util.found()
|
if appstreamcli.found()
|
||||||
test('Validate net.zoite.Zoitechat.appdata.xml', appstream_util,
|
test('Validate net.zoite.Zoitechat.appdata.xml', appstreamcli,
|
||||||
args: ['validate-relax', zoitechat_appdata]
|
args: ['validate', zoitechat_appdata]
|
||||||
)
|
)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@@ -97,11 +97,18 @@ if get_option('plugin')
|
|||||||
conf.set('SUMMARY', metainfo[1])
|
conf.set('SUMMARY', metainfo[1])
|
||||||
conf.set('LICENSE', metainfo[2])
|
conf.set('LICENSE', metainfo[2])
|
||||||
|
|
||||||
configure_file(
|
plugin_appdata = configure_file(
|
||||||
input: 'net.zoite.Zoitechat.Plugin.metainfo.xml.in',
|
input: 'net.zoite.Zoitechat.Plugin.metainfo.xml.in',
|
||||||
output: 'net.zoite.Zoitechat.Plugin.@0@.metainfo.xml'.format(name),
|
output: 'net.zoite.Zoitechat.Plugin.@0@.metainfo.xml'.format(name),
|
||||||
configuration: conf,
|
configuration: conf,
|
||||||
install_dir: get_option('install-plugin-metainfo') ? metainfodir : '',
|
install_dir: get_option('install-plugin-metainfo') ? metainfodir : '',
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if appstreamcli.found()
|
||||||
|
test('Validate net.zoite.Zoitechat.Plugin.@0@.metainfo.xml'.format(name), appstreamcli,
|
||||||
|
args: ['validate', plugin_appdata]
|
||||||
|
)
|
||||||
|
endif
|
||||||
|
|
||||||
endforeach
|
endforeach
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user