From c6661b711c8062e915c849509a69435b491ee636 Mon Sep 17 00:00:00 2001 From: agiz Date: Fri, 11 Sep 2020 23:23:12 +0200 Subject: [PATCH] feat: add macOS dependencies --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/README.md b/README.md index 19e292a3..95d3f86a 100644 --- a/README.md +++ b/README.md @@ -154,6 +154,38 @@ build script and pre-built binaries. Thanks to [@chuck-](https://github.com/chuck-) for providing this! +### macOS + +#### Install luarocks + +``` +brew install luarocks +``` + +#### Install luasocket with luarocks + +Check lua version of your mpv instance. + +``` +mpv -v + +... +--lua=51deb # <- this is your lua version +... +``` + +Proceed to install correct luasocket. + +``` +luarocks --lua-dir=/usr/local/opt/lua@5.1 install luasocket +``` + +#### Set correct path + +``` +eval $(luarocks --lua-dir=/usr/local/opt/lua@5.1 path --bin) +``` + ## Screenshots ![webui screenshot](screenshots/webui.png#2)