Workaround for missing libsdl2-dev

This commit is contained in:
Duilio Protti 2016-07-03 12:50:23 -03:00
parent 34b7629028
commit 949bf0a7c7
1 changed files with 10 additions and 0 deletions

View File

@ -5,6 +5,16 @@ dist: xenial
before_install: before_install:
- sudo apt-get update - sudo apt-get update
- sudo apt-get -y install autotools-dev audacious-dev libglib2.0-dev - sudo apt-get -y install autotools-dev audacious-dev libglib2.0-dev
install:
- cd ~
- mkdir sdl2install
- export SDL2DIR="`pwd`/sdl2install"
- wget https://www.libsdl.org/release/SDL2-2.0.3.tar.gz
- tar xzf SDL2-2.0.3.tar.gz
- cd SDL2-2.0.3
- ./configure --prefix=$SDL2DIR
- make
- make install
script: script:
- ./autogen.sh - ./autogen.sh
- make - make