Skip to content

Instantly share code, notes, and snippets.

@phixion
Created July 26, 2023 07:54
Show Gist options
  • Save phixion/8e79265354594900f4fb6c1471f95c3f to your computer and use it in GitHub Desktop.
Save phixion/8e79265354594900f4fb6c1471f95c3f to your computer and use it in GitHub Desktop.
#!/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