mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Tools: add Ubuntu 21.04 to environment setup script
Signed-off-by: Vladimir Ermakov <vooon341@gmail.com>
This commit is contained in:
parent
b62ab14791
commit
50641e8f7c
@ -76,7 +76,7 @@ elif [ ${RELEASE_CODENAME} == 'focal' ] || [ ${RELEASE_CODENAME} == 'ulyssa' ];
|
|||||||
SITLCFML_VERSION="2.5"
|
SITLCFML_VERSION="2.5"
|
||||||
PYTHON_V="python3"
|
PYTHON_V="python3"
|
||||||
PIP=pip3
|
PIP=pip3
|
||||||
elif [ ${RELEASE_CODENAME} == 'groovy' ]; then
|
elif [ ${RELEASE_CODENAME} == 'groovy' ] || [ ${RELEASE_CODENAME} == 'hirsute' ]; then
|
||||||
SITLFML_VERSION="2.5"
|
SITLFML_VERSION="2.5"
|
||||||
SITLCFML_VERSION="2.5"
|
SITLCFML_VERSION="2.5"
|
||||||
PYTHON_V="python3"
|
PYTHON_V="python3"
|
||||||
@ -184,7 +184,7 @@ echo "Done!"
|
|||||||
if [ ${RELEASE_CODENAME} == 'focal' ] || [ ${RELEASE_CODENAME} == 'ulyssa' ]; then
|
if [ ${RELEASE_CODENAME} == 'focal' ] || [ ${RELEASE_CODENAME} == 'ulyssa' ]; then
|
||||||
BASE_PKGS+=" python-is-python3"
|
BASE_PKGS+=" python-is-python3"
|
||||||
SITL_PKGS+=" libpython3-stdlib" # for argparse
|
SITL_PKGS+=" libpython3-stdlib" # for argparse
|
||||||
elif [ ${RELEASE_CODENAME} == 'groovy' ]; then
|
elif [ ${RELEASE_CODENAME} == 'groovy' ] || [ ${RELEASE_CODENAME} == 'hirsute' ]; then
|
||||||
BASE_PKGS+=" python-is-python3"
|
BASE_PKGS+=" python-is-python3"
|
||||||
SITL_PKGS+=" libpython3-stdlib" # for argparse
|
SITL_PKGS+=" libpython3-stdlib" # for argparse
|
||||||
else
|
else
|
||||||
@ -193,7 +193,7 @@ fi
|
|||||||
|
|
||||||
# Check for graphical package for MAVProxy
|
# Check for graphical package for MAVProxy
|
||||||
if [[ $SKIP_AP_GRAPHIC_ENV -ne 1 ]]; then
|
if [[ $SKIP_AP_GRAPHIC_ENV -ne 1 ]]; then
|
||||||
if [ ${RELEASE_CODENAME} == 'groovy' ]; then
|
if [ ${RELEASE_CODENAME} == 'groovy' ] || [ ${RELEASE_CODENAME} == 'hirsute' ]; then
|
||||||
SITL_PKGS+=" python3-wxgtk4.0"
|
SITL_PKGS+=" python3-wxgtk4.0"
|
||||||
SITL_PKGS+=" fonts-freefont-ttf libfreetype6-dev libjpeg8-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 libjpeg8-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} == 'focal' ] || [ ${RELEASE_CODENAME} == 'ulyssa' ]; then
|
elif [ ${RELEASE_CODENAME} == 'focal' ] || [ ${RELEASE_CODENAME} == 'ulyssa' ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user