Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ouned authored Jul 4, 2016
1 parent 0d0407e commit f110c3a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,20 @@ Main Features:
# Build
| Windows | Linux / OSX |
|---------|-------------|
| [![Linux/OSX Build Status](https://ci.appveyor.com/api/projects/status/bwkb8nfl5w6s53u4?svg=true)](https://ci.appveyor.com/project/ouned/jk2mv/history) | [![Windows Build Status](https://api.travis-ci.org/mvdevs/jk2mv.svg)](https://travis-ci.org/mvdevs/jk2mv/builds)
| [![Windows Build Status](https://ci.appveyor.com/api/projects/status/bwkb8nfl5w6s53u4?svg=true)](https://ci.appveyor.com/project/ouned/jk2mv/history) | [![Linux/OSX Build Status](https://api.travis-ci.org/mvdevs/jk2mv.svg)](https://travis-ci.org/mvdevs/jk2mv/builds)
[Download Automated Builds](https://jk2mv.org/builds)

1. Get CMake from either https://cmake.org or, in case of Linux, from the repositories of your distribution.
2. Dependencies
* Windows: Requires at least Visual Studio 2010, required libraries are shipped with JK2MV in the `libs` directory.
* If you plan to build the installer package get NSIS from http://nsis.sourceforge.net
* Linux: OpenGL, OpenAL, SDL2 and depending on your configuration libjpeg, libpng, libcurl.
* Ubuntu/Debian: `apt-get install debhelper devscripts libsdl2-dev libgl1-mesa-dev libopenal-dev libjpeg8-dev libpng12-dev`
* Ubuntu/Debian: `apt-get install git debhelper devscripts libsdl2-dev libgl1-mesa-dev libopenal-dev libjpeg8-dev libpng12-dev`
* MacOSX: XCode on MacOSX >= 10.6
* Configure / Build SDL2:
1. `curl -O https://www.libsdl.org/release/SDL2-2.0.4.tar.gz`
2. `tar xzf SDL2-2.0.4.tar.gz`
3. `cd SDL2-2.0.4/Xcode/SDL`
4. `sed -i -e 's/@rpath//g' SDL.xcodeproj/project.pbxproj`
2. `tar xzf SDL2-2.0.4.tar.gz && cd SDL2-2.0.4/Xcode/SDL`
4. `sed -i -e 's/@rpath//g' SDL.xcodeproj/project.pbxproj` (packaging fails otherwise)
5. `xcodebuild -configuration Release`
6. `mkdir -p ~/Library/Frameworks/`
7. ``ln -s `pwd`/build/Release/SDL2.framework ~/Library/Frameworks``
Expand All @@ -47,7 +46,7 @@ Main Features:
* `BuildPortableVersion` Build portable version (does not read or write files from your user/home directory)
* `BuildMVMP` Whether to create targets for the client (jk2mvmp & jk2mvmenu)
* `BuildMVDED` Whether to create targets for the dedicated server (jk2mvded)
* `CMAKE_BUILD_TYPE=Debug/Release` Debugging symbols enabled/disabled.
* `CMAKE_BUILD_TYPE=Debug/Release` Build for development/release.
4. Building
* Unix-Makefiles
* `make` Build all previously selected binaries.
Expand All @@ -61,5 +60,4 @@ JK2MV is licensed under GPLv2 as free software. You are free to use, modify and
- openjk (https://github.com/JACoders/OpenJK) (SDL port, engine fixes, improvements etc.)
- ioq3 (https://github.com/ioquake/ioq3/) (SDL port, x64 qvm, engine fixes, improvements etc.)
- xLAva (https://github.com/xLAva/JediOutcastLinux) (openal fixes)
- mongoose (https://github.com/cesanta/mongoose) (http downloads)
- Thoroughbred-Of-Sin (http://thoroughbred-of-sin.deviantart.com/) (icon)

0 comments on commit f110c3a

Please sign in to comment.