diff --git a/README.md b/README.md index 0deec4f..ab934ae 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,12 @@ The project can be built by running a single script from the `misc/build` direct ### MacOS +Library prerequisites: SDL2, spdlog, catch2 + +Install with brew: `brew install sdl2 spdlog catch2` + +Install with macports: `sudo port install libsdl2 spdlog catch2` (for details: [#96](https://github.com/krupkat/xpano/pull/96#issuecomment-1575589249)) + Run the install script from the root of the repository: ``` diff --git a/misc/build/build-macos-12.sh b/misc/build/build-macos-12.sh index 89d2e29..cdb6426 100755 --- a/misc/build/build-macos-12.sh +++ b/misc/build/build-macos-12.sh @@ -9,7 +9,7 @@ export EXIV2_VERSION='v0.28.0' export GENERATOR='Ninja Multi-Config' git submodule update --init -brew install sdl2 spdlog catch2 +#brew install sdl2 spdlog catch2 git clone https://github.com/opencv/opencv.git --depth 1 --branch $OPENCV_VERSION diff --git a/misc/scripts/python/translate_github_action.py b/misc/scripts/python/translate_github_action.py index 4990aed..1189bc2 100644 --- a/misc/scripts/python/translate_github_action.py +++ b/misc/scripts/python/translate_github_action.py @@ -16,8 +16,10 @@ def ConvertStep(step): if step.get("with", {}).get("submodules", False) == True: return "git submodule update --init" # comment out sudo actions - command = step.get("run", "") - return command.replace("sudo", "#sudo") + command = step.get("run", "") \ + .replace("sudo", "#sudo") \ + .replace("brew", "#brew") + return command def ShellExtension(system):