2021-12-19 16:06:49 +00:00
|
|
|
py = import('python').find_installation('python3', modules: ['gi'])
|
2021-05-05 00:39:52 +00:00
|
|
|
|
2021-12-20 04:19:50 +00:00
|
|
|
env = environment()
|
|
|
|
env.prepend('GI_TYPELIB_PATH',
|
2021-12-24 15:55:26 +00:00
|
|
|
project_build_root / 'gtk',
|
|
|
|
gi_dep.get_variable(pkgconfig: 'typelibdir'),
|
|
|
|
)
|
|
|
|
env.prepend('LD_PRELOAD', project_build_root / 'gtk' / 'libgtk-4.so')
|
2021-12-20 04:19:50 +00:00
|
|
|
|
2021-05-05 00:39:52 +00:00
|
|
|
test('api',
|
2021-12-24 15:55:26 +00:00
|
|
|
find_program('api.py', dirs: meson.current_source_dir()),
|
|
|
|
suite: ['introspection'],
|
|
|
|
env: env,
|
|
|
|
)
|