Add MacPorts as an option for the travis/deps.sh script

This commit is contained in:
Ricardo Bánffy 2024-07-04 16:42:15 +01:00 committed by Paul Koning
parent c093bcdcf6
commit 2bb425addf
2 changed files with 12 additions and 1 deletions

View file

@ -6,6 +6,11 @@ install_osx() {
vde cmake gnu-getopt coreutils zlib vde cmake gnu-getopt coreutils zlib
} }
install_macports() {
sudo port install pkgconfig pcre libpng libedit libsdl2 freetype libsdl2_ttf \
vde2 cmake util-linux coreutils zlib
}
install_arch_linux() { install_arch_linux() {
sudo pacman -S --noconfirm pkgconf sudo pacman -S --noconfirm pkgconf
sudo pacman -S --noconfirm pcre libpng libedit sudo pacman -S --noconfirm pcre libpng libedit
@ -66,7 +71,7 @@ install_clang64() {
case "$1" in case "$1" in
osx|linux|mingw64|ucrt64|clang64) osx|macports|linux|mingw64|ucrt64|clang64)
install_"$1" install_"$1"
;; ;;
arch-linux) arch-linux)

View file

@ -285,6 +285,12 @@ binaries.
$ sudo sh .travis/deps.sh osx $ sudo sh .travis/deps.sh osx
``` ```
- macOS MacPorts:
```bash
$ sudo sh .travis/deps.sh macports
```
- MinGW-w64 Win64 console: - MinGW-w64 Win64 console:
```bash ```bash