forked from AuroraMiddleware/gtk
d5f2b69d0c
We hardcoded the typelib directory for only an arch (and a distro), while we can just get it from gobject-introspection pkg config if tests are enabled.
10 lines
315 B
Meson
10 lines
315 B
Meson
|
|
test('api',
|
|
find_program('api.py', dirs: meson.current_source_dir()),
|
|
suite: ['introspection'],
|
|
env: [
|
|
'GI_TYPELIB_PATH=@0@/gtk:@1@'.format(project_build_root,
|
|
gi_dep.get_pkgconfig_variable('typelibdir')),
|
|
'LD_PRELOAD=@0@/gtk/libgtk-4.so'.format(project_build_root),
|
|
])
|