Skip to content

Commit

Permalink
docs(README): note Homebrew is required on macOS (#96)
Browse files Browse the repository at this point in the history
* docs(README): note Homebrew is required on macOS

#95

* docs(README): fix typo

* Update README.md

* remove brew command from the mac build script

* update macports command

---------

Co-authored-by: Tomáš Krupka <6817216+krupkat@users.noreply.github.com>
  • Loading branch information
strogonoff and krupkat committed Jun 5, 2023
1 parent 41deb4b commit e645c6b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

```
Expand Down
2 changes: 1 addition & 1 deletion misc/build/build-macos-12.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions misc/scripts/python/translate_github_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e645c6b

Please sign in to comment.