README.MD: add instructions to install and update thorVG with MSYS2

This commit is contained in:
Vincent Torri 2024-03-29 20:45:23 +01:00 committed by Hermet Park
parent f733e42c95
commit ac1681d07f

View file

@ -58,6 +58,7 @@ The task scheduler has been meticulously crafted to conceal complexity, streamli
- [Build and Install](#build-and-install)
- [Build with Visual Studio](#build-with-visual-studio)
- [Install with vcpkg](#install-with-vcpkg)
- [Install with MSYS2](#install-with-msys2)
- [Quick Start](#quick-start)
- [SVG](#svg)
- [Lottie](#lottie)
@ -121,6 +122,21 @@ Install the ThorVG package.
./vcpkg install thorvg
```
### Install with MSYS2
You can download and install pre-packaged ThorVG using the [MSYS2](https://www.msys2.org/) package manager.
Download and execute the MSYS2 installer on the web page above and follow the steps. When done, just launch one of the terminals in the start menu, according to the architecture and compiler you want (either 32 or 64 bits, with MSVCRT or UCR C library). Then you can install the ThorVG package :
```
pacman -S thorvg
```
To update to a newer release (and update all the packages, which is preferable), run :
```
pacman -Syu
```
[Back to contents](#contents)
<br />
<br />