From 6caf43f9e7c44c2c1ba49dcab7280f5caa831e48 Mon Sep 17 00:00:00 2001 From: Florent Rougon Date: Tue, 9 Apr 2019 09:40:28 +0200 Subject: [PATCH] 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). --- download_and_compile.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/download_and_compile.sh b/download_and_compile.sh index 51d369f..04a00f1 100755 --- a/download_and_compile.sh +++ b/download_and_compile.sh @@ -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