projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ecac8f
)
meson: skip translations if gettext is not available
author
Tim-Philipp Müller
<tim@centricular.com>
Tue, 26 Dec 2017 12:52:18 +0000
(13:52 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 26 Dec 2017 12:52:18 +0000
(13:52 +0100)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
4dca0ed
..
4d57ccb
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-461,6
+461,10
@@
subdir('sys')
subdir('ext')
subdir('tests')
subdir('pkgconfig')
-subdir('po')
+
+# xgettext is optional (on Windows for instance)
+if find_program('xgettext', required : false).found()
+ subdir('po')
+endif
run_command(python3, '-c', 'import shutil; shutil.copy("hooks/pre-commit.hook", ".git/hooks/pre-commit")')