libgimp: Additionally pass gio-[unix,windows]-2.0 to vapigen

Fixes https://gitlab.gnome.org/GNOME/gimp/issues/14902

(cherry picked from commit 6260590cf4)
This commit is contained in:
Rico Tzschichholz 2025-09-23 12:15:21 +02:00 committed by Bruno Lopes
parent 12aa79d695
commit 003a9fcbc7
No known key found for this signature in database

View file

@ -571,6 +571,13 @@ else
'gobject-2.0',
'gtk+-3.0',
]
if glib.version().version_compare('>=2.86')
if not platform_windows
vapi_deps += [ 'gio-unix-2.0' ]
else
vapi_deps += [ 'gio-windows-2.0' ]
endif
endif
libgimp_vapi = gnome.generate_vapi('gimp-' + gimp_api_version,
sources: libgimp_gir[0],