mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-29 05:40:20 -04:00
Allow building with muon
This commit is contained in:
parent
fa36852a58
commit
0294b25f27
4 changed files with 23 additions and 19 deletions
|
|
@ -1,11 +1,10 @@
|
|||
i18n = import('i18n')
|
||||
add_project_arguments('-DGETTEXT_PACKAGE="' + meson.project_name().to_lower() + '"',
|
||||
'-DLOCALEDIR="' + get_option('prefix') / get_option('localedir') + '"',
|
||||
language:'c')
|
||||
i18n.gettext(meson.project_name().to_lower(),
|
||||
args: ['--directory=' + source_root,
|
||||
'--add-comments=TRANSLATORS',
|
||||
'--no-location',
|
||||
'--keyword=_',
|
||||
'--msgid-bugs=https://github.com/wizbright/waybox/issues']
|
||||
i18n = import('i18n', required: false)
|
||||
if i18n.found()
|
||||
i18n.gettext(meson.project_name().to_lower(),
|
||||
args: ['--directory=' + source_root,
|
||||
'--add-comments=TRANSLATORS',
|
||||
'--no-location',
|
||||
'--keyword=_',
|
||||
'--msgid-bugs=https://github.com/wizbright/waybox/issues']
|
||||
)
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue