meson.build: bump minimum version to 0.47

It's been out for 2 years.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2020-09-09 11:26:25 +10:00
parent 5ef4329ceb
commit ad2216b4c8
3 changed files with 3 additions and 18 deletions

View file

@ -26,19 +26,11 @@ src_doxygen = files(
'style/libinputdoxygen.css',
)
config_noop = configuration_data()
# Set a dummy replacement to silence meson warnings:
# meson.build:487: WARNING: Got an empty configuration_data() object and
# found no substitutions in the input file 'foo'. If you
# want to copy a file to the build dir, use the 'copy:'
# keyword argument added in 0.47.0
config_noop.set('dummy', 'dummy')
doxyfiles = []
foreach f : src_doxygen
df = configure_file(input: f,
output: '@PLAINNAME@',
configuration : config_noop)
copy : true)
doxyfiles += [ df ]
endforeach

View file

@ -168,18 +168,11 @@ src_rst = files(
'configuration.rst',
)
config_noop = configuration_data()
# Set a dummy replacement to silence meson warnings:
# meson.build:487: WARNING: Got an empty configuration_data() object and
# found no substitutions in the input file 'foo'. If you
# want to copy a file to the build dir, use the 'copy:'
# keyword argument added in 0.47.0
config_noop.set('dummy', 'dummy')
src_sphinx = []
foreach f : src_rst
sf = configure_file(input: f,
output: '@PLAINNAME@',
configuration : config_noop)
copy : true)
src_sphinx += [ sf ]
endforeach

View file

@ -2,7 +2,7 @@ project('libinput', 'c',
version : '1.16.900',
license : 'MIT/Expat',
default_options : [ 'c_std=gnu99', 'warning_level=2' ],
meson_version : '>= 0.45.0')
meson_version : '>= 0.47.0')
libinput_version = meson.project_version().split('.')