@@ -32,9 +32,9 @@ On Debian, this should set you up:
3232sudo apt-get install libjack-jackd2-dev librubberband-dev libffms2-dev libfreetype6-dev libass-dev libgl1-mesa-dev libavfilter-dev
3333```
3434
35- Under OSX, try this :
35+ Under OSX, you need homebrew's python in addition to the libraries :
3636``` shell
37- brew install jack jpeg ffms2 rubberband libass freetype
37+ brew install python jack jpeg ffms2 rubberband libass freetype
3838```
3939
4040### Set up python environment
@@ -44,6 +44,12 @@ mkvirtualenv ${BL_VENV}
4444pip install cython
4545```
4646
47+ Under OSX, you need some extra options to make sure python libs are able to find
48+ homebrew shared libs:
49+ ``` shell
50+ PIP_FLAGS=(--global-option=build_ext --global-option=-I$( brew --prefix) /include --global-option=-L$( brew --prefix) /lib)
51+ ```
52+
4753### Get libmpv
4854You need version 0.21.0 of ` mpv ` or higher.
4955
@@ -66,26 +72,13 @@ cd mpv
6672```
6773
6874### Get pympv.
69- Linux:
70- ``` shell
71- pip install ' git+git://github.com/yacoob/pympv.git@HEAD'
72- ```
73-
74- OSX:
7575``` shell
76- pip install ' git+git://github.com/yacoob/pympv.git@HEAD' --global-option=build_ext --global-option= " -I $( brew --prefix ) /include " --global-option= " -L $( brew --prefix ) /lib "
76+ pip install ' git+git://github.com/yacoob/pympv.git@HEAD' ${PIP_FLAGS}
7777```
7878
79-
8079### Install Blitzloop itself
81- Linux:
82- ``` shell
83- pip install ' git+git://github.com/marcan/blitzloop.git@libmpv'
84- ```
85-
86- OSX:
8780``` shell
88- pip install ' git+git://github.com/marcan/blitzloop.git@libmpv' --global-option=build_ext --global-option= " -I $( brew --prefix ) /include " --global-option= " -L $( brew --prefix ) /lib "
81+ pip install ' git+git://github.com/marcan/blitzloop.git@libmpv' ${PIP_FLAGS}
8982```
9083
9184### Add songs.
@@ -94,7 +87,7 @@ cd ${BL_HOME}
9487ln -s /your/song/directory songs
9588```
9689
97- # Running Blitzloop
90+ # Sing!
9891TODO: fix this, as it's currently broken
9992``` shell
10093pyenv activate ${BL_VENV}
0 commit comments