gudev: Require 232

gudev and libudev might have different versions, and
since 361bf847 we require gudev >= 232 to be able to
use g_autoptr with gudev types.

Since the previous commit, however, the meson build
was using the same version for libudev and gudev.

Fix that by requiring different versions for gudev
(>= 232) and libudev (>= 228).
This commit is contained in:
Georges Basile Stavracas Neto 2018-11-06 17:04:12 -02:00
parent b607d35aad
commit d3dc7d6f49
No known key found for this signature in database
GPG Key ID: 886C17EE170D1385

View File

@ -32,6 +32,7 @@ atk_req = '>= 2.5.3'
# optional version requirements
udev_req = '>= 228'
gudev_req = '>= 232'
# wayland version requirements
wayland_server_req = '>= 1.13.0'
@ -157,7 +158,7 @@ endif
have_libgudev = get_option('udev')
if have_libgudev
libudev_dep = dependency('libudev', version: udev_req)
gudev_dep = dependency('gudev-1.0', version: udev_req)
gudev_dep = dependency('gudev-1.0', version: gudev_req)
endif
have_native_backend = get_option('native_backend')