Dependencies subcategorized, different build types

AlexApps99 2019-04-08 22:24:34 +12:00
parent 4467eb1c35
commit fbf1028a2d

@ -1,31 +1,38 @@
## Prerequisites
- Git
- CMake
## Dependencies
on Debian:
`apt install git cmake ffmpeg libavcodec-dev libevdev-dev libusb-1.0-0-dev libavformat-dev libswscale-dev libsfml-dev libminiupnpc-dev libmbedtls-dev curl libhidapi-dev libwxbase3.0-dev libwxgtk3.0-dev libpangocairo-1.0-0 libgtk2.0-dev libbluetooth-dev qt5-default qtbase5-private-dev libudev-dev`
### Debian based (Debian, Ubuntu, Kali, etc.):
`sudo apt install git cmake ffmpeg libavcodec-dev libevdev-dev libusb-1.0-0-dev libavformat-dev libswscale-dev libsfml-dev libminiupnpc-dev libmbedtls-dev curl libhidapi-dev libwxbase3.0-dev libwxgtk3.0-dev libpangocairo-1.0-0 libgtk2.0-dev libbluetooth-dev qt5-default qtbase5-private-dev libudev-dev`
## Checkout Dolphin
1. Create a directory to store dolphin in
1. Create a directory to store Dolphin in
2. `cd` into that directory
3. `git clone https://github.com/dolphin-emu/dolphin .`
4. Wait for the checkout to finish
## Building
### Global Build
1. `mkdir build && cd build`
2. `cmake ..`
3. `make`
4. `sudo make install` (optional, to install)
It's strongly recommended to perform a global installation via `sudo make install`.
### Local Build
1. `mkdir build && cd build`
2. `cmake .. -DLINUX_LOCAL_DEV=true`
3. `make`
4. `ln -s ../Data/Sys Binaries/`
### Portable Build
1. `mkdir build && cd build`
2. `cmake .. -DLINUX_LOCAL_DEV=true`
3. `make`
4. `cp -r ../Data/Sys/ Binaries/`
5. `touch Binaries/portable.txt`
## Externally Managed Packages
On some distributions of Linux, package maintainers provide unmodified builds of Dolphin. These are listed below:
- [Ubuntu](https://launchpad.net/~dolphin-emu/+archive/ubuntu/ppa)