libgimp: Only list gio_specific on Glib 2.86 and newer

Since GioUnix-2.0 namespaces were buggy in previous versions
This commit is contained in:
Bruno Lopes 2025-09-11 11:24:11 -03:00
parent 9819457f31
commit 4dceeb174a
No known key found for this signature in database

View file

@ -495,10 +495,12 @@ else
'GObject-2.0',
'Pango-1.0',
]
if not platform_windows
libgimp_gir_includes += [ 'GioUnix-2.0' ]
else
libgimp_gir_includes += [ 'GioWin32-2.0' ]
if glib.version().version_compare('>=2.86')
if not platform_windows
libgimp_gir_includes += [ 'GioUnix-2.0' ]
else
libgimp_gir_includes += [ 'GioWin32-2.0' ]
endif
endif
gir_args = [