projects
/
platform
/
upstream
/
gst-plugins-ugly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a98d2a8
)
meson: skip translations if gettext is not available
author
Tim-Philipp Müller
<tim@centricular.com>
Tue, 26 Dec 2017 12:51:37 +0000
(13:51 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 26 Dec 2017 12:51:37 +0000
(13:51 +0100)
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
7c29a7a
..
eb96b7b
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-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")')