Update macOS instructions (#3335)
* Update macOS instructions Thanks @OzoneOne for testing this. * Fix issues Also remove 0.9.3-and-below-only Xcode build instructions, was "much less well tested" anyways. * Revert unnecessary change, more tweaks * Remove extra newline
This commit is contained in:
parent
22124ae11f
commit
b4ef263cc9
@ -195,20 +195,19 @@ Build STK
|
|||||||
```bash
|
```bash
|
||||||
mkdir cmake_build
|
mkdir cmake_build
|
||||||
cd cmake_build
|
cd cmake_build
|
||||||
CMAKE_PREFIX_PATH=/usr/local/opt/freetype/:/usr/local/opt/curl/:/usr/local/opt/libogg/:/usr/local/opt/libogg/:/usr/local/opt/libvorbis/:/usr/local/opt/openssl\@1.1/:/usr/local/opt/glew/:/usr/local/opt/fribidi/ /usr/local/opt/cmake/bin/cmake .. -DFREETYPE_INCLUDE_DIRS=/usr/local/opt/freetype/include/freetype2/ -DUSE_SYSTEM_GLEW=1 -DOPENAL_INCLUDE_DIR=/usr/local/opt/openal-soft/include/ -DOPENAL_LIBRARY=/usr/local/opt/openal-soft/lib/libopenal.dylib
|
CMAKE_PREFIX_PATH=/usr/local/opt/freetype/:/usr/local/opt/curl/:/usr/local/opt/libogg/:/usr/local/opt/libogg/:/usr/local/opt/libvorbis/:/usr/local/opt/openssl\@1.1/:/usr/local/opt/glew/:/usr/local/opt/fribidi/ /usr/local/opt/cmake/bin/cmake .. -DFREETYPE_INCLUDE_DIRS=/usr/local/opt/freetype/include/freetype2/ -DUSE_SYSTEM_GLEW=1 -DOPENAL_INCLUDE_DIR=/usr/local/opt/openal-soft/include/ -DOPENAL_LIBRARY=/usr/local/opt/openal-soft/lib/libopenal.dylib -DFREETYPE_LIBRARY=/usr/local/opt/freetype/lib/libfreetype.dylib
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
#### (Optional) packaging for distribution
|
#### (Optional) packaging for distribution
|
||||||
|
|
||||||
By default, the executable that is produced is not ready for distribution. Install https://github.com/auriamg/macdylibbundler
|
By default, the executable that is produced is not ready for distribution. Install https://github.com/auriamg/macdylibbundler and run:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dylibbundler -od -b -x ./bin/SuperTuxKart.app/Contents/MacOS/supertuxkart -d ./bin/SuperTuxKart.app/Contents/libs/ -p @executable_path/../libs/
|
dylibbundler -od -b -x ./bin/SuperTuxKart.app/Contents/MacOS/supertuxkart -d ./bin/SuperTuxKart.app/Contents/libs/ -p @executable_path/../libs/
|
||||||
```
|
```
|
||||||
|
|
||||||
then copy the datafiles into /SuperTuxKart.app/Contents/Resources/data
|
Afterwards, copy the contents of `stk-assets` into `/SuperTuxKart.app/Contents/Resources/data`.
|
||||||
|
|
||||||
|
|
||||||
### STK 0.9.3 or earlier
|
### STK 0.9.3 or earlier
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user