only install necessary submodules to save space

cobalt2727 2022-09-27 02:12:44 -04:00
parent f89737e7f2
commit 030c0174e4

@ -2,7 +2,7 @@
* `git`
* `curl`
* `cmake`, version 3.13 or newer for Dolphin 5.0-16995 and newer.
* C++ compiler, with C++20 support for Dolphin 5.0-17123 and newer.
* C++ compiler such as `gcc`, with C++20 support for Dolphin 5.0-17123 and newer.
## Additional Dependencies Examples
@ -16,7 +16,7 @@ sudo apt install build-essential git cmake ffmpeg libavcodec-dev libavformat-dev
sudo apt install build-essential 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 libpangocairo-1.0-0 libgtk2.0-dev libbluetooth-dev qtchooser qmake6 libudev-dev portaudio19-dev libasound2-dev libzypp-dev libcubeb-dev libfmt-dev llvm-dev
```
### Chrome/Chromium OS (via Chromebrew):
### Chrome/Chromium OS (via [Chromebrew](https://github.com/chromebrew/chromebrew)):
```
crew install git cmake qtbase ffmpeg libfmt pugixml enet pkgconf buildessential sommelier qtwayland
```
@ -26,8 +26,11 @@ crew install git cmake qtbase ffmpeg libfmt pugixml enet pkgconf buildessential
2. `cd dolphin`
## Add necessary submodules
1. `git submodule update --init`
2. `git pull --recurse-submodules`
1. `git submodule update --init Externals/mGBA`
2. `git submodule update --init Externals/spirv_cross`
3. `git submodule update --init Externals/zlib-ng`
4. `git submodule update --init Externals/libspng`
5. `git pull --recurse-submodules`
## Building
### Global Build (if unsure, use this option)
@ -93,5 +96,5 @@ On some distributions of Linux, package maintainers provide unmodified builds of
### Troubleshooting
- Ubuntu 18.04 users will not have a working emulated Wii Remote cursor. To fix this, install `gcc-11` from [this PPA](https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test) and instead of `cmake ..` type `cmake .. -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11` during the build process. This may become necessary in the in the long term anyway to solve issues for anyone still building on 18.04 in the future.
- Ubuntu 18.04 users must install `gcc-11` from [this PPA](https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test) and then instead of `cmake ..` type `cmake .. -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11` during the build process.
- Whenever QT5 support is eventually dropped, the proper QT6 dependencies will need to be installed from source or from a repo (such as [this PPA for outdated Ubuntu releases](https://launchpad.net/~okirby/+archive/ubuntu/qt6-backports)).