mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-22 12:31:32 +00:00
* Add homebrew tap mazmazz/srb2
* Use sdl2_mixer from mazmazz/srb2 due to removed options from homebrew-core * Use `brew install --build-bottle` to build compatible libraries for old Macs
This commit is contained in:
parent
97f8448b72
commit
0834dbc194
1 changed files with 10 additions and 2 deletions
12
.travis.yml
12
.travis.yml
|
@ -585,10 +585,18 @@ before_install:
|
||||||
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
# Install OS X library dependencies via Homebrew
|
||||||
|
# `brew install --build-bottle` builds libraries for x86_64's lowest common denominator CPU, core2
|
||||||
|
# `sdl2_mixer` requires options from the formula tap https://github.com/mazmazz/homebrew-srb2
|
||||||
|
# `brew postinstall` runs post-install scripts after building a bottle
|
||||||
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
brew update;
|
brew update;
|
||||||
brew install sdl2 game-music-emu zlib p7zip;
|
brew tap mazmazz/srb2;
|
||||||
brew install sdl2_mixer --with-flac --with-mpg123;
|
fi;
|
||||||
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
|
brew install --build-bottle sdl2 game-music-emu zlib p7zip;
|
||||||
|
brew install --build-bottle mazmazz/srb2/sdl2_mixer --with-flac --with-mpg123;
|
||||||
|
brew postinstall sdl2 game-music-emu zlib p7zip mazmazz/srb2/sdl2_mixer;
|
||||||
brew install cmake||true;
|
brew install cmake||true;
|
||||||
fi
|
fi
|
||||||
- mkdir -p $HOME/srb2_cache
|
- mkdir -p $HOME/srb2_cache
|
||||||
|
|
Loading…
Reference in a new issue