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>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38557>
(cherry picked from commit ad14942300)
This commit is contained in:
Matt Turner 2025-11-20 13:31:31 -05:00 committed by Eric Engestrom
parent 0a416fb949
commit 23be36fc01
2 changed files with 2 additions and 2 deletions

View file

@ -4334,7 +4334,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

@ -2170,7 +2170,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