Tools: apt install python-wxgtk on Lunar as pip install is hard to manage

This commit is contained in:
Pierre Kancir 2023-05-16 12:30:31 +02:00 committed by Peter Barker
parent 5e32a04c72
commit 50525206d5
1 changed files with 2 additions and 1 deletions

View File

@ -292,7 +292,8 @@ if [[ $SKIP_AP_GRAPHIC_ENV -ne 1 ]]; then
fi fi
if [ ${RELEASE_CODENAME} == 'lunar' ]; then if [ ${RELEASE_CODENAME} == 'lunar' ]; then
PYTHON_PKGS+=" wxPython opencv-python" PYTHON_PKGS+=" opencv-python"
SITL_PKGS+=" python3-wxgtk4.0"
SITL_PKGS+=" fonts-freefont-ttf libfreetype6-dev libpng16-16 libportmidi-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev" # for pygame SITL_PKGS+=" fonts-freefont-ttf libfreetype6-dev libpng16-16 libportmidi-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev" # for pygame
elif [ ${RELEASE_CODENAME} == 'bullseye' ] || elif [ ${RELEASE_CODENAME} == 'bullseye' ] ||
[ ${RELEASE_CODENAME} == 'groovy' ] || [ ${RELEASE_CODENAME} == 'groovy' ] ||