build: require libinput v1.19

This version has been published back in 2021.
This commit is contained in:
Simon Ser 2024-07-04 22:51:07 +02:00
parent ee24201e26
commit 0a79bc28c7
4 changed files with 1 additions and 15 deletions

View file

@ -5,7 +5,7 @@ endif
libinput = dependency(
'libinput',
version: '>=1.14.0',
version: '>=1.19.0',
required: 'libinput' in backends,
not_found_message: '\n'.join(msg),
)
@ -28,7 +28,4 @@ wlr_files += files(
features += { 'libinput-backend': true }
wlr_deps += libinput
# libinput hold gestures and high resolution scroll are available since 1.19.0
internal_config.set10('HAVE_LIBINPUT_HOLD_GESTURES', libinput.version().version_compare('>=1.19.0'))
internal_config.set10('HAVE_LIBINPUT_SCROLL_VALUE120', libinput.version().version_compare('>=1.19.0'))
internal_config.set10('HAVE_LIBINPUT_BUSTYPE', libinput.version().version_compare('>=1.26.0'))