mgba/.travis-deps.sh

15 lines
522 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
else
sudo add-apt-repository ppa:spvkgn/ffmpeg+mpv -y
2015-09-21 08:06:11 +00:00
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
2015-09-21 07:46:57 +00:00
sudo apt-get update -qq
sudo apt-get purge cmake -qq
sudo apt-get install -y -qq 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