From 2bb425addf6691f954137efeb19eb35853fcf16e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Ba=CC=81nffy?= Date: Thu, 4 Jul 2024 16:42:15 +0100 Subject: [PATCH] Add MacPorts as an option for the travis/deps.sh script --- .travis/deps.sh | 7 ++++++- README-CMake.md | 6 ++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/.travis/deps.sh b/.travis/deps.sh index a5d511787..dc08ec7fc 100755 --- a/.travis/deps.sh +++ b/.travis/deps.sh @@ -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 @@ -66,7 +71,7 @@ install_clang64() { case "$1" in - osx|linux|mingw64|ucrt64|clang64) + osx|macports|linux|mingw64|ucrt64|clang64) install_"$1" ;; arch-linux) diff --git a/README-CMake.md b/README-CMake.md index 18e2403c2..ae5562a84 100644 --- a/README-CMake.md +++ b/README-CMake.md @@ -285,6 +285,12 @@ binaries. $ sudo sh .travis/deps.sh osx ``` + - macOS MacPorts: + + ```bash + $ sudo sh .travis/deps.sh macports + ``` + - MinGW-w64 Win64 console: ```bash