ktexteditor-5.18.0 needs its patches updated. An optional dependency on `libgit2` was also added. `makeQtWrapper` was added to `nativeBuildInputs` to set `XDG_DATA_DIRS` correctly.