summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@openmailbox.org>2015-12-26 22:57:42 (GMT)
committerTobias Markmann <tm@ayena.de>2016-01-06 14:17:34 (GMT)
commit5a203daada7193267b2777f02b1d0aef2f65d6f2 (patch)
treeb8c24e8ebaef27e8af7b451035b02b29d0ddb20a /BuildTools
parent60074cfedd4a10dbdec43c9c0bbc62d5a75279c5 (diff)
downloadswift-5a203daada7193267b2777f02b1d0aef2f65d6f2.zip
swift-5a203daada7193267b2777f02b1d0aef2f65d6f2.tar.bz2
Add openSUSE to InstallSwiftDependencies script
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details. Change-Id: I31a731d0fb5142f1ec23c5c2e9f0ca60f5f9a288
Diffstat (limited to 'BuildTools')
-rwxr-xr-xBuildTools/InstallSwiftDependencies.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/BuildTools/InstallSwiftDependencies.sh b/BuildTools/InstallSwiftDependencies.sh
index 8a0d1d3..669a431 100755
--- a/BuildTools/InstallSwiftDependencies.sh
+++ b/BuildTools/InstallSwiftDependencies.sh
@@ -14,9 +14,12 @@ then
elif [ "$SYSTEM_DISTRO" == "Ubuntu" ]
then
sudo apt-get install pkg-config libssl-dev qt5-default libqt5x11extras5-dev libqt5webkit5-dev qtmultimedia5-dev qttools5-dev-tools
- elif [ "$SYSTEM_DISTRO" == "Arch" ]
+ elif [ "$SYSTEM_DISTRO" == "Arch" ]
then
sudo pacman -S qt5-base qt5-x11extras qt5-webkit qt5-multimedia qt5-tools
+ elif [ "$SYSTEM_DISTRO" == "openSUSE project" ]
+ then
+ sudo zypper in pkg-config libopenssl-devel libQt5Core-devel libQt5WebKit5-devel libQt5WebKitWidgets-devel libqt5-qtmultimedia-devel libqt5-qtx11extras-devel libqt5-qttools-devel libQt5Gui-devel libQt5Network-devel libQt5DBus-devel
else
echo "Unsupported Linux distribution."
fi