![]() ![]() ![]() I tried adding -enable-static-build to the waf command, but it fails, I think something is missing with Homebrew packages that would allow a static build : Linking build/mpv Hence why I wanted to try a static build. However, between 圆4 and arm64 library names differ (there's also the problem of my mac intel being a bit old and still running on Catalina, so not the same libs are included). Going forward, you can update your local copy of the repo by running the following commands from its root directory: git reset -hardĪctually, you wouldn't happen to know how to make a static mpv binary inside the bundle? Like, with all the libs inside the binary? My issue is that I'm trying to make a universal version of my app but it needs to have the same filenames for libs in oredr to make a universal version of everything. Run the script from the root directory of the cloned repo, but append -static to the command, like. If you want to bundle a static build of mpv.app, perform these steps following the ones above. Just make sure to run it from the root directory of the cloned repo. You can now run the attached script to build mpv & mpv.app on an Apple silicon Mac yourself. You'll also need a local copy of the mpv repo, which you can get by running git clone. If you don't have all of mpv's dependencies installed, run brew install -build-from-source -only-dependencies mpv & brew install libplacebo. If you don't have Homebrew installed, follow the instructions here. If you don't have the Xcode Command Line Tools installed, run xcode-select -install and select Install on the prompt that appears. If there's anything there to update, do it. Go to System Preferences > Software Update. ![]() Before you can build mpv & mpv.app on an Apple silicon Mac, there's a couple of required dependencies you'll need to install if you haven't already: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |