.travis-deps.sh (view raw)
1#!/bin/sh
2if [ $TRAVIS_OS_NAME = "osx" ]; then
3 brew install qt5 ffmpeg imagemagick sdl2 libzip libpng
4else
5 sudo add-apt-repository ppa:smspillaz/cmake-2.8.12 -y
6 sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y
7 sudo add-apt-repository ppa:immerrr-k/qt5-backport -y
8 sudo add-apt-repository ppa:spvkgn/ffmpeg+mpv -y
9 sudo apt-get update -qq
10 sudo apt-get purge cmake -qq
11 sudo apt-get install -y -qq cmake libedit-dev libmagickwand-dev \
12 libpng-dev libsdl2-dev libzip-dev qtbase5-dev \
13 libqt5opengl5-dev qtmultimedia5-dev libavcodec-dev \
14 libavutil-dev libavformat-dev libavresample-dev libswscale-dev
15fi