From 1c5449fcd60c6890f5368a6dc7763829dd0e5266 Mon Sep 17 00:00:00 2001
From: Florent Rougon <f.rougon@free.fr>
Date: Thu, 11 Oct 2018 23:07:34 +0200
Subject: [PATCH] download_and_compile.sh: add optional dependencies
 qtbase5-dev-tools and qttools5-dev-tools

qtbase5-dev-tools contains the 'rcc' tool, and qttools5-dev-tools
contains 'lrelease'. Unless I'm mistaken, both are needed to compile the
Qt resources containing translations in the QM format for FlightGear's
built-in launcher.
---
 download_and_compile.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/download_and_compile.sh b/download_and_compile.sh
index bab5fc7..aa33a8a 100755
--- a/download_and_compile.sh
+++ b/download_and_compile.sh
@@ -592,6 +592,8 @@ _mandatory_pkg_alternative libpng-dev libpng12-dev libpng16-dev
 # The following packages are needed for the built-in launcher
 _optional_pkg_alternative qt5-default
 _optional_pkg_alternative qtdeclarative5-dev
+_optional_pkg_alternative qtbase5-dev-tools            # for rcc
+_optional_pkg_alternative qttools5-dev-tools           # for lrelease
 _optional_pkg_alternative qml-module-qtquick2
 _optional_pkg_alternative qml-module-qtquick-window2
 _optional_pkg_alternative qml-module-qtquick-dialogs