mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
meson: skip translations if gettext is not available
This commit is contained in:
parent
a98d2a8ecc
commit
c9baaf3e50
1 changed files with 5 additions and 1 deletions
|
@ -197,7 +197,11 @@ presetdir = join_paths(get_option('datadir'), 'gstreamer-' + api_version, 'prese
|
|||
subdir('gst')
|
||||
subdir('ext')
|
||||
subdir('tests')
|
||||
subdir('po')
|
||||
|
||||
# xgettext is optional (on Windows for instance)
|
||||
if find_program('xgettext', required : false).found()
|
||||
subdir('po')
|
||||
endif
|
||||
|
||||
python3 = import('python3').find_python()
|
||||
run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')
|
||||
|
|
Loading…
Reference in a new issue