build: Re-add libglib-testing subproject

This time, add it as a wrap module rather than a git submodule. They’re
easier to manage, and integrate better with Meson.

The subproject has to be re-added so that malcontent can be built on
Debian Stable and Fedora 31 for the gnome-software CI. See
https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/487.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2020-07-07 15:29:11 +01:00
parent 7d9c32aa9a
commit 81964dec1f
2 changed files with 5 additions and 1 deletions

View File

@ -3,7 +3,7 @@ deps = [
dependency('gio-unix-2.0', version: '>= 2.44'),
dependency('glib-2.0', version: '>= 2.60.0'),
dependency('gobject-2.0', version: '>= 2.44'),
dependency('glib-testing-0'),
dependency('glib-testing-0', fallback: ['libglib-testing', 'libglib_testing_dep']),
libmalcontent_dep,
]

View File

@ -0,0 +1,4 @@
[wrap-git]
directory = libglib-testing
url = https://gitlab.gnome.org/pwithnall/libglib-testing.git
revision = 0.1.0