Updated Compiling (markdown)

bearoso 2019-03-17 19:12:04 -05:00
parent 1ece6a6a7b
commit 0cbd17403d
1 changed files with 39 additions and 1 deletions

@ -40,3 +40,41 @@ NOTE: Unicode support requires a special zlib build - see the end of the zlib en
Select the desired configuration and build.
The Release configuration may build significantly slower than Debug.
Then you can run it.
## GTK
Requirements:
- GTK 3.20+ or GTK 2.16+ and all dependencies
- SDL 2.0
- X11, even if only using Wayland
- libepoxy
- meson
Optional:
- glslang for slang shader support
- PulseAudio
- ALSA
- OSS
- PortAudio
- Wayland
- libpng
- minizip
- zlib
Building with meson:
1. Change to the `gtk` directory and run meson:
```
snes9x/gtk$ meson build --prefix=/usr --buildtype=release --strip
```
A list of options can be found in `meson_options.txt`. Most will be autodetected. If you wish to use GTK 2 or enable dangerous hacks in the UI, those must be done by supplying the respective option.
2. Build with ninja:
```
snes9x/gtk/build$ ninja
```
3. Install:
```
snes9x/gtk/build$ sudo ninja install
```