mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
Unlike other targets that take a name, i18n.merge_file() does not. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2078>
16 lines
352 B
Meson
16 lines
352 B
Meson
metainfo = app_id + '.metainfo.xml'
|
|
i18n.merge_file(
|
|
input: base_id + '.metainfo.xml.in',
|
|
output: metainfo,
|
|
po_dir: po_dir,
|
|
install: true,
|
|
install_dir: metainfodir
|
|
)
|
|
|
|
if (appstream_util.found())
|
|
test('Validating ' + metainfo,
|
|
appstream_util,
|
|
args: ['validate', '--nonet', metainfo],
|
|
workdir: meson.current_build_dir()
|
|
)
|
|
endif
|