* Add mingw-w64-cmake-static as a separate package
* Fix linker errors (FREETYPE_DEPENDENCIES really must include `-lfreetype`
itself due to the cyclic dependency between FreeType2 and Harfbuzz
* Add patch to fix static compilation of qt6-tools
* Add certain variables to find Qt's dependencies to the CMake
toolchain file because these variables would otherwise needed to
be set every time Qt 6 is used
* Add a static variant
* Not fully tested yet
* Further repos besides base and svg will be added later
The static Qt modules in the base repository are already packaged as a
separate package (mingw-w64-qt5-base-static). This change applies the same
separation to Qt modules found in further repositories. That means it is no
longer required to build a static version of Qt if only shared libraries
are required.
Note that there's no static variant for mingw-w64-qt5-activeqt because this
module ends up being built as a static library anyways. There is also no
static version of mingw-w64-qt5-translations because it does not contain
any libraries.
* Only packages for additional modules are covered so far
* Only packages for mingw-w64 target are covered so far
* This leads to small adjustments/unifications within the
PKGBUILDs; not tested yet