blob: 0feb6ed2ab1474158eb8125f23c0cc612c36426c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/env bash
# This script installs the external dependencies to build Swift with Qt5.
SYSTEM_NAME=$(uname)
if [ "$SYSTEM_NAME" == "Linux" ]
then
# handle linux distributions
SYSTEM_DISTRO=$(lsb_release -i -s)
if [ "$SYSTEM_DISTRO" == "Debian" ]
then
sudo apt-get install pkg-config libssl-dev qt5-default libqt5x11extras5-dev libqt5webkit5-dev qtmultimedia5-dev qttools5-dev-tools
else
echo "Unsupported Linux distribution."
fi
else
echo "Unspupported system."
fi
|