download_and_compile.sh: also install ffmpeg libraries for video encoding support.

This commit is contained in:
Julian Smith 2021-12-12 22:22:25 +00:00
parent d7abbaa10f
commit 52c0efedb7

View File

@ -585,7 +585,8 @@ function _installOrUpdateDistroPackages(){
if _elementIn "SIMGEAR" "${WHATTOBUILD[@]}" || \ if _elementIn "SIMGEAR" "${WHATTOBUILD[@]}" || \
_elementIn "FGFS" "${WHATTOBUILD[@]}"; then _elementIn "FGFS" "${WHATTOBUILD[@]}"; then
PKG+=(zlib1g-dev freeglut3-dev libglew-dev libopenal-dev libboost-dev \ PKG+=(zlib1g-dev freeglut3-dev libglew-dev libopenal-dev libboost-dev \
liblzma-dev) liblzma-dev \
libavcodec-dev libavutil-dev libswscale-dev libavformat-dev)
if ! _elementIn "OSG" "${WHATTOBUILD[@]}"; then if ! _elementIn "OSG" "${WHATTOBUILD[@]}"; then
_mandatory_pkg_alternative libopenscenegraph-3.4-dev \ _mandatory_pkg_alternative libopenscenegraph-3.4-dev \