Port to libgirepository-2.0

pygobject 3.52 has switched [1] to using libgirepository-2.0 which
comes from glib itself now, rather than the 1.0 which came from
gobject-introspection.

This means that it fails to load the incompatible "GIRepository 2.0"
and thus must be ported to 3.0 (which is provided by
libgirepository-2.0).

This also means that we have to bump the minimum version of glib to
2.80

Migration guide is here [2]

[1]: https://gitlab.gnome.org/GNOME/pygobject/-/merge_requests/320
[2]: https://docs.gtk.org/girepository/migrating-gi.html
This commit is contained in:
Jordan Petridis 2024-11-13 00:48:16 +02:00
parent a42ec3a945
commit 54164305a3
No known key found for this signature in database
2 changed files with 8 additions and 3 deletions

View file

@ -7,6 +7,9 @@ datadir = join_paths(prefix, get_option('datadir'))
py = import('python').find_installation('python3')
dependency('glib-2.0', version: '>= 2.80.0')
dependency('girepository-2.0', version: '>= 2.80.0')
subdir('docs')
configure_file(