Merge branch 'ebassi/find-gi' into 'main'

build: Check for the gi python module

See merge request GNOME/gtk!4266
This commit is contained in:
Matthias Clasen 2021-12-20 15:41:51 +00:00
commit 9b750ef69f
2 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,8 @@ pacman --noconfirm -S --needed \
mingw-w64-$MSYS2_ARCH-pango \ mingw-w64-$MSYS2_ARCH-pango \
mingw-w64-$MSYS2_ARCH-fribidi \ mingw-w64-$MSYS2_ARCH-fribidi \
mingw-w64-$MSYS2_ARCH-gst-plugins-bad \ mingw-w64-$MSYS2_ARCH-gst-plugins-bad \
mingw-w64-$MSYS2_ARCH-shared-mime-info mingw-w64-$MSYS2_ARCH-shared-mime-info \
mingw-w64-$MSYS2_ARCH-python-gobject
mkdir -p _ccache mkdir -p _ccache
export CCACHE_BASEDIR="$(pwd)" export CCACHE_BASEDIR="$(pwd)"

View File

@ -1,3 +1,4 @@
py = import('python').find_installation('python3', modules: ['gi'])
test('api', test('api',
find_program('api.py', dirs: meson.current_source_dir()), find_program('api.py', dirs: meson.current_source_dir()),