Add Mac build instructions

This commit is contained in:
Drew Weymouth
2022-12-27 10:49:27 -08:00
committed by GitHub
parent d04a586cd6
commit aa47426744
+14
View File
@@ -13,3 +13,17 @@ recently added, and double-clicking an album plays that album.
### Build
* ``go build .``
## Build (Mac OS)
### Install dependencies
* install go
* install Xcode command-line tools (``xcode-select --install``)
* install libmpv (``brew install mpv``)
### Build
* Make sure header and library include paths include the dir in which homebrew installs headers/dylibs (may differ dep. on OS/Homebrew version)
- ``export C_INCLUDE_PATH=/opt/homebrew/include:$C_INCLUDE_PATH``
- ``export LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH``
* ``go build .``