Created
July 26, 2023 07:54
-
-
Save phixion/8e79265354594900f4fb6c1471f95c3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# shellcheck disable=SC2046,SC2155,SC2164 | |
brew install doxygen pkgconfig sdl2 qt5 ffmpeg cmake openssl | |
brew link --force openssl | |
pkg-config --modversion openssl | |
git clone --recursive https://github.com/citra-emu/citra-nightly.git | |
cd citra-nightly/ | |
git checkout d380980 | |
git submodule update --init --recursive | |
mkdir -p build && cd build | |
export Qt5_DIR=$(brew --prefix)/opt/qt5 | |
cmake .. -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_BUILD_TYPE=Release -DENABLE_FFMPEG_AUDIO_DECODER=ON | |
make -j$(nproc) | |
ln -s $(pwd)/citra-qt.app /Applications/Citra.app | |
open /Applications/Citra.app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment