Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jriwanek committed Jul 4, 2024
1 parent 5b5903e commit b655d80
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .travis/deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ install_osx() {
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() {
sudo pacman -S --noconfirm pkgconf
sudo pacman -S --noconfirm pcre libpng libedit
Expand Down Expand Up @@ -66,14 +71,14 @@ install_clang64() {


case "$1" in
osx|linux|mingw64|ucrt64|clang64)
osx|macports|linux|mingw64|ucrt64|clang64)
install_"$1"
;;
arch-linux)
install_arch_linux
;;
*)
echo "$0: Need an operating system name: osx, arch-linux, linux, mingw64 or ucrt64"
echo "$0: Need an operating system name: osx, macports, arch-linux, linux, mingw64 or ucrt64"
exit 1
;;
esac
5 changes: 5 additions & 0 deletions README-CMake.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,11 @@ binaries.
```bash
$ sudo sh .travis/deps.sh osx
```
- macOS MacPorts:

```bash
$ sudo sh .travis/deps.sh macports
```

- MinGW-w64 Win64 console:

Expand Down

0 comments on commit b655d80

Please sign in to comment.