feat(ui/MSALoginDialog): use libqrencode for qr codes

`qrcodegen` isn't available in most repositories, package discovery
scripts for it are maintained in a different repository, and they are
bugged for Windows at least. This basically forces us into vendoring it,
which isn't cool; libqrencode seems like viable alternative used by many
more apps

Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
Seth Flynn
2025-07-09 11:31:22 -04:00
parent c5c12ae8ce
commit 3b9e020115
12 changed files with 66 additions and 75 deletions

View File

@@ -9,8 +9,8 @@
jdk17,
kdePackages,
libnbtplusplus,
qrcodegenerator,
ninja,
qrencode,
self,
stripJavaArchivesHook,
tomlplusplus,
@@ -63,9 +63,6 @@ stdenv.mkDerivation {
postUnpack = ''
rm -rf source/libraries/libnbtplusplus
ln -s ${libnbtplusplus} source/libraries/libnbtplusplus
rm -rf source/libraries/qrcodegenerator
ln -s ${qrcodegenerator} source/libraries/qrcodegenerator
'';
nativeBuildInputs = [
@@ -81,6 +78,7 @@ stdenv.mkDerivation {
kdePackages.qtbase
kdePackages.qtnetworkauth
kdePackages.quazip
qrencode
tomlplusplus
zlib
]