mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
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:
parent
b607d35aad
commit
d3dc7d6f49
@ -32,6 +32,7 @@ atk_req = '>= 2.5.3'
|
|||||||
|
|
||||||
# optional version requirements
|
# optional version requirements
|
||||||
udev_req = '>= 228'
|
udev_req = '>= 228'
|
||||||
|
gudev_req = '>= 232'
|
||||||
|
|
||||||
# wayland version requirements
|
# wayland version requirements
|
||||||
wayland_server_req = '>= 1.13.0'
|
wayland_server_req = '>= 1.13.0'
|
||||||
@ -157,7 +158,7 @@ endif
|
|||||||
have_libgudev = get_option('udev')
|
have_libgudev = get_option('udev')
|
||||||
if have_libgudev
|
if have_libgudev
|
||||||
libudev_dep = dependency('libudev', version: udev_req)
|
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
|
endif
|
||||||
|
|
||||||
have_native_backend = get_option('native_backend')
|
have_native_backend = get_option('native_backend')
|
||||||
|
Loading…
Reference in New Issue
Block a user