From d3dc7d6f493f820a67c9c40a50ebc544a0d50331 Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Tue, 6 Nov 2018 17:04:12 -0200 Subject: [PATCH] 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). --- meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index edf7435e6..0d0c467f8 100644 --- a/meson.build +++ b/meson.build @@ -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')