meson: Actually load translation files

Currently we run the script but don't actually load any files, even in a
tarball where they exist.

Fixes: 3218056e0e
       ("meson: Build i965 and dri stack")
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
(cherry picked from commit 7c00db9527)
[Andres Gomez: resolve trivial conflicts]
Signed-off-by: Andres Gomez <agomez@igalia.com>

Conflicts:
	src/util/xmlpool/meson.build
This commit is contained in:
Dylan Baker 2018-08-24 07:05:36 -07:00 committed by Andres Gomez
parent baf5c4e4df
commit f958837964

View file

@ -22,7 +22,10 @@ xmlpool_options_h = custom_target(
'xmlpool_options.h',
input : ['gen_xmlpool.py', 't_options.h'],
output : 'options.h',
command : [prog_python2, '@INPUT@', meson.current_source_dir()],
command : [
prog_python2, '@INPUT@', meson.current_source_dir(),
'ca', 'es', 'de', 'nl', 'sv', 'fr',
],
capture : true,
depend_files : files('ca.po', 'es.po', 'de.po', 'nl.po', 'sv.po', 'fr.po'),
)