fix(linux): add more package requirements

These packages are required for building the source package for
keyman-config.
This commit is contained in:
Eberhard Beilharz 2020-02-06 18:26:57 +01:00
parent d7417cf3c2
commit daae618386
No known key found for this signature in database
GPG key ID: 64A39A9E98B53105
2 changed files with 11 additions and 6 deletions

View file

@ -10,3 +10,6 @@ trim_trailing_whitespace = true
[*.md]
max_line_length = off
[{Makefile,rules}]
indent_style = tab

View file

@ -39,13 +39,15 @@ sourcename=${sourcename%"-beta"}
checkAndInstallRequirements()
{
local TOINSTALL
if ! dpkg -l | grep -q dh-python; then
TOINSTALL="$TOINSTALL dh-python"
fi
if ! dpkg -l | grep -q python3-all; then
TOINSTALL="$TOINSTALL python3-all"
fi
for p in dh-python gir1.2-webkit2-4.0 python3-all python3-setuptools \
python3-requests python3-requests-cache python3-numpy python3-pil python3-lxml \
python3-gi python3-magic python3-qrcode
do
if ! dpkg -l | grep -q $p; then
TOINSTALL="$TOINSTALL $p"
fi
done
if [ ! -f /usr/bin/help2man ]; then
TOINSTALL="$TOINSTALL help2man"