mirror of
https://github.com/lutris/lutris
synced 2024-09-30 04:54:18 +00:00
meson: specify minimum required version
The minimum version in practice used to be 0.50.0, however that can be lowered by removing unneeded kwargs from a couple of functions. - i18n.gettext() `install_dir` defaults to the localedir option, and doesn't need to be manually overridden to that location - configure_file() `install` defaults to true if `install_dir` is set, and before 0.50 that was also the *only* way to mark it as installed Removing both these kwargs means that there is more leeway with the minimum required version.
This commit is contained in:
parent
d4f77d6b25
commit
08831fbe66
|
@ -1,6 +1,7 @@
|
|||
project(
|
||||
'lutris',
|
||||
license: 'GPL-3.0-or-later'
|
||||
license: 'GPL-3.0-or-later',
|
||||
meson_version: '>=0.46.0',
|
||||
)
|
||||
|
||||
# Find Python installation
|
||||
|
@ -24,7 +25,6 @@ configure_file(
|
|||
input: 'optional_settings.py.in',
|
||||
output: 'optional_settings.py',
|
||||
configuration: config,
|
||||
install: true,
|
||||
install_dir: lutrisdir,
|
||||
)
|
||||
|
||||
|
|
|
@ -2,6 +2,5 @@ i18n = import('i18n')
|
|||
|
||||
i18n.gettext(
|
||||
'lutris',
|
||||
install_dir: localedir,
|
||||
args: '--from-code=UTF-8'
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue