From 5a203daada7193267b2777f02b1d0aef2f65d6f2 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Sat, 26 Dec 2015 23:57:42 +0100 Subject: Add openSUSE to InstallSwiftDependencies script License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details. Change-Id: I31a731d0fb5142f1ec23c5c2e9f0ca60f5f9a288 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 -- cgit v0.10.2-6-g49f6