meson: Fix sysprof-capture-4 dependency

The versioning scheme changed in v45.0 (the previous version was
3.48.0). As such, this version check would wrongly accept e.g. 48.0.

Fixes: e9341568fa ("meson: require sysprof-capture-4 >= 4.49.0")
Reviewed-by: Christian Gmeiner <cgmeiner@igalia.com>
(cherry picked from commit ad14942300)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38803>
This commit is contained in:
Matt Turner 2025-11-20 13:31:31 -05:00 committed by Dylan Baker
parent 54828a0b15
commit 4eac81ed95
2 changed files with 2 additions and 2 deletions

View file

@ -244,7 +244,7 @@
"description": "meson: Fix sysprof-capture-4 dependency",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "e9341568fa9e4af1084db6702174ed4b4881bc73",
"notes": null

View file

@ -2191,7 +2191,7 @@ endif
with_sysprof = get_option('sysprof')
if with_sysprof
dep_sysprof = dependency('sysprof-capture-4', version: '>= 4.49.0')
dep_sysprof = dependency('sysprof-capture-4', version: '>= 49.0')
pre_args += '-DHAVE_SYSPROF'
endif