1
0
Fork 0

download_and_compile.sh: don't attempt to install libcppunit-dev anymore

According to Edward, installing the system CppUnit library is not really
useful and likely to cause problems.[1]

This reverts commit 6caf43f9e7.

[1] https://sourceforge.net/p/flightgear/mailman/message/36636483/
This commit is contained in:
Florent Rougon 2019-04-11 10:31:02 +02:00
parent 06d84d1d5b
commit 5e25bc9277

View file

@ -635,10 +635,6 @@ if [[ "$DOWNLOAD_PACKAGES" = "y" ]]; then
if _elementIn "FGFS" "${WHATTOBUILD[@]}"; then
PKG+=(libopenal-dev libudev-dev libdbus-1-dev libplib-dev)
_mandatory_pkg_alternative libpng-dev libpng12-dev libpng16-dev
# CppUnit is shipped with the FG sources, but if installed via the distro
# package manager, 1) the FG build will be quicker and 2) libcppunit-dev
# will be updated like other distro packages (e.g., security updates).
_optional_pkg_alternative libcppunit-dev
# The following packages are needed for the built-in launcher
_optional_pkg_alternative qt5-default
_optional_pkg_alternative qtdeclarative5-dev