Follow the instructions from the PKGBUILD file in mingw-packages/mingw-w64-vlc repository. Link https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-vlc/PKGBUILD