Closed astamm closed 2 years ago
Oh I missed that. That should be helpful indeed! I am not quite clear what the differences is between this repo and what you call the upstream msys2? In the long run, should we be better off contributing here or to this upstream repo?
The packages in upstream msys2 cannot be used with R. They are built as shared libraries, and often have many dependencies. To build an R package, you need a static library, with only important dependencies (as you did above).
But sometimes you can borrow some patches or other flags from their recipe.
It seems I have it working. What else can I do to move this forward?
Are you aware upsteam msys2 has a vtk recipe that maybe you can adapt from (remove dependencies + shared libraires)? https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-vtk/PKGBUILD