#!/usr/bin/env bash # builds mpv & mpv.app on Apple silicon (M1 / M2) Macs # run this script from the root directory of the mpv repo # if anything fails, gtfo set -ex meson setup build meson compile -C build # test the binary we just built ./build/mpv --version ./TOOLS/osxbundle.py --skip-deps build/mpv