mgba/.travis-deps.sh

18 lines
498 B
Bash
Raw Normal View History

2015-09-21 07:46:57 +00:00
#!/bin/sh
2015-09-21 07:53:27 +00:00
if [ $TRAVIS_OS_NAME = "osx" ]; then
2015-09-23 06:17:48 +00:00
brew update
2015-09-21 07:46:57 +00:00
brew install qt5 ffmpeg imagemagick sdl2 libzip libpng
if [ "$CC" == "gcc" ]; then
brew install gcc@4.9
export CC=gcc-4.9
export CXX=g++-4.9
fi
2015-09-21 07:46:57 +00:00
else
2016-02-14 19:56:00 +00:00
sudo apt-get clean
sudo apt-get update
sudo apt-get install -y -q cmake libedit-dev libmagickwand-dev \
2015-12-16 06:54:51 +00:00
libpng-dev libsdl2-dev libzip-dev qtbase5-dev \
2015-09-21 07:46:57 +00:00
libqt5opengl5-dev qtmultimedia5-dev libavcodec-dev \
libavutil-dev libavformat-dev libavresample-dev libswscale-dev
fi