Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Set up and install wenv: https://gitlab.com/Linaro/windowsonarm/wenv/

  2. Activate wenv to launch a shell (PS or CMD)

  3. Modify the file at C:\wenv\msys2\msys64\etc\pacman.conf and uncomment the [clangarm64] line, and the one below it

  4. Execute: C:\wenv\msys2\msys64\clangarm64.exe

  5. In the window that opens (same for all subsequent commands also), execute pacman -Syu

  6. (OPTIONAL) The previous command may close the msys window, if so, execute the command from Step 2 4 and return to window for all subsequent commands

  7. In the msys2 window, execute pacman -Su

  8. Then the following commands:

    1. pacman -S git $MINGW_PACKAGE_PREFIX-{python,pkgconf,meson,clang,cmake}

    2. pacman -S $MINGW_PACKAGE_PREFIX-{ffmpeg,libjpeg-turbo,spirv-cross,shaderc}

  9. Clone MPV from the repo: https://github.com/mpv-player/mpv and cd into it

  10. Copy the file attached to the bottom of this section into the root of the cloned directory

  11. Execute the following commands:

    1. meson setup build --prefix=$MSYSTEM_PREFIX --cross-file=clang-arm64.txt -Dgl=disabled

    2. meson compile -C build

  12. Wait for compilation to finish, and observe the presence of the file build\mpv.exe

...