mirror of https://github.com/mgba-emu/mgba.git
All: Travis deps install script
This commit is contained in:
parent
cf5bac466a
commit
45f52898dc
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
if [ $TRAVIS_OS_NAME -eq "osx"]; then
|
||||
brew install qt5 ffmpeg imagemagick sdl2 libzip libpng
|
||||
else
|
||||
sudo add-apt-repository ppa:smspillaz/cmake-2.8.12 -y
|
||||
sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y
|
||||
sudo add-apt-repository ppa:immerrr-k/qt5-backport -y
|
||||
sudo add-apt-repository ppa:spvkgn/ffmpeg+mpv -y
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get purge cmake -qq
|
||||
sudo apt-get install -y -qq cmake libedit-dev libmagickwand-dev \
|
||||
libpng-devlibsdl2-dev libzip-dev qtbase5-dev \
|
||||
libqt5opengl5-dev qtmultimedia5-dev libavcodec-dev \
|
||||
libavutil-dev libavformat-dev libavresample-dev libswscale-dev
|
||||
fi
|
11
.travis.yml
11
.travis.yml
|
@ -8,15 +8,6 @@ compiler:
|
|||
- clang
|
||||
|
||||
before_install:
|
||||
- if [ $TRAVIS_OS_NAME -eq "osx"]
|
||||
- then
|
||||
- brew install qt5 ffmpeg imagemagick sdl2 libzip libpng
|
||||
- else
|
||||
- sudo add-apt-repository ppa:smspillaz/cmake-2.8.12 -y
|
||||
- sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get purge cmake -qq
|
||||
- sudo apt-get install -y -qq cmake libedit-dev libmagickwand-dev libpng-dev libsdl2-dev libzip-dev
|
||||
- fi
|
||||
- ./.travis-deps.sh
|
||||
|
||||
script: mkdir build && cd build && cmake .. && make
|
||||
|
|
Loading…
Reference in New Issue