mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-12 13:00:01 -08:00
23 lines
No EOL
874 B
Bash
Executable file
23 lines
No EOL
874 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [[ $TRAVIS_OS_NAME == "osx" ]] ; then
|
|
brew update
|
|
if (( QT4 )); then
|
|
brew install qt protobuf libgcrypt
|
|
else
|
|
brew install qt5 protobuf libgcrypt
|
|
fi
|
|
else
|
|
if (( QT4 )); then
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y qtmobility-dev libprotobuf-dev protobuf-compiler libqt4-dev
|
|
else
|
|
sudo add-apt-repository --yes ppa:canonical-qt5-edgers/qt5-beta-proper
|
|
sudo apt-get update -qq
|
|
sudo apt-get install -y libprotobuf-dev protobuf-compiler qtbase5-dev cmake\
|
|
qtdeclarative5-dev libqt5webkit5-dev libsqlite3-dev qt5-default qttools5-dev-tools\
|
|
qttools5-dev libqt5svg5-dev libqt5svg5 qtbase5-dev libqt5gui5 libqt5printsupport5 \
|
|
libqt5widgets5 qt5-qmake qtbase5-dev-tools libqt5quick5 libqt5quickparticles5 \
|
|
libqt5quicktest5 libqt5designer5 libqt5designercomponents5 libqt5gui5 libqt5help5
|
|
fi
|
|
fi |