download_and_compile.sh: add optional dependency on libcppunit-dev
The dependency is optional because CppUnit is shipped with the FG sources. However, when installed via the distro package manager as we are attempting here: - the FG build will be quicker; - libcppunit-dev will be updated like other distro packages (e.g., it will receive security updates).
This commit is contained in:
parent
7b51c99439
commit
6caf43f9e7
1 changed files with 4 additions and 0 deletions
|
@ -617,6 +617,10 @@ if [[ "$DOWNLOAD_PACKAGES" = "y" ]]; then
|
|||
# FG
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue