mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
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:
parent
c5c12ae8ce
commit
3b9e020115
12 changed files with 66 additions and 75 deletions
|
|
@ -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
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue