mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
3395c35f2f
The source_root() method is deprecated in 0.56.0 and we're recommended to use project_source_root() instead. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
28 lines
701 B
Meson
28 lines
701 B
Meson
i18n = import('i18n')
|
|
|
|
i18n.gettext(
|
|
meson.project_name(),
|
|
args: [
|
|
'--from-code=UTF-8',
|
|
'--keyword=_',
|
|
'--keyword=N_',
|
|
'--add-comments=TRANSLATORS:',
|
|
'--directory=@0@'.format(meson.project_source_root()),
|
|
'--directory=@0@'.format(meson.project_build_root()),
|
|
'--files-from=@0@'.format(meson.current_source_dir() / 'POTFILES'),
|
|
'--msgid-bugs-address=https://libvirt.org/bugs.html',
|
|
'--package-version=@0@'.format(meson.project_version()),
|
|
'--sort-output',
|
|
],
|
|
)
|
|
|
|
potfiles_dep = [
|
|
access_gen_sources,
|
|
admin_client_generated,
|
|
admin_driver_generated,
|
|
remote_driver_generated,
|
|
remote_daemon_generated,
|
|
]
|
|
|
|
alias_target('libvirt-pot-dep', potfiles_dep)
|