mirror of
https://github.com/wizbright/waybox.git
synced 2025-10-29 05:40:20 -04:00
Made NLS support contingent on having msgfmt, removed the deprecated meson.source_root(), and updated the translations
This commit is contained in:
parent
4cee7c4014
commit
740c8c3393
45 changed files with 2608 additions and 692 deletions
|
|
@ -13,6 +13,7 @@ project(
|
|||
|
||||
add_project_arguments(
|
||||
'-Wno-unused-parameter',
|
||||
'-DWL_HIDE_DEPRECATED', # Hide the deprecated parts of the Wayland API
|
||||
'-DWLR_USE_UNSTABLE',
|
||||
'-DPACKAGE_NAME="' + meson.project_name() + '"',
|
||||
'-DPACKAGE_VERSION="' + meson.project_version() + '"',
|
||||
|
|
@ -29,6 +30,12 @@ wayland_server = dependency('wayland-server', version: '>=1.15')
|
|||
wayland_protos = dependency('wayland-protocols', version: '>=1.17')
|
||||
xkbcommon = dependency('xkbcommon')
|
||||
|
||||
subdir('po')
|
||||
msgfmt = find_program('msgfmt', required: false)
|
||||
if msgfmt.found()
|
||||
source_root = meson.current_source_dir()
|
||||
add_project_arguments('-DUSE_NLS=1', language: 'c')
|
||||
subdir('po')
|
||||
endif
|
||||
|
||||
subdir('protocol')
|
||||
subdir('waybox')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue