mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
prismlauncher: add qtwayland to buildInputs
This commit is contained in:
parent
a04a4bbbeb
commit
679b5bde4e
@ -11,6 +11,7 @@
|
||||
, libpulseaudio
|
||||
, qtbase
|
||||
, qtsvg
|
||||
, qtwayland
|
||||
, libGL
|
||||
, quazip
|
||||
, glfw
|
||||
@ -20,8 +21,8 @@
|
||||
, ghc_filesystem
|
||||
, msaClientID ? ""
|
||||
, jdks ? [ jdk jdk8 ]
|
||||
,
|
||||
}:
|
||||
|
||||
let
|
||||
libnbtplusplus = fetchFromGitHub {
|
||||
owner = "PrismLauncher";
|
||||
@ -30,6 +31,7 @@ let
|
||||
sha256 = "sha256-TvVOjkUobYJD9itQYueELJX3wmecvEdCbJ0FinW2mL4=";
|
||||
};
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "prismlauncher";
|
||||
version = "5.2";
|
||||
@ -41,8 +43,15 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-sKAhcbDoRbWf/DuwcBmDjb+VSMM0K2C33gu1K9AlPoQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ extra-cmake-modules ghc_filesystem cmake file jdk wrapQtAppsHook ];
|
||||
buildInputs = [ qtbase qtsvg zlib quazip tomlplusplus ];
|
||||
nativeBuildInputs = [ extra-cmake-modules cmake file jdk wrapQtAppsHook ];
|
||||
buildInputs = [
|
||||
qtbase
|
||||
qtsvg
|
||||
zlib
|
||||
quazip
|
||||
ghc_filesystem
|
||||
tomlplusplus
|
||||
] ++ lib.optional (lib.versionAtLeast qtbase.version "6") qtwayland;
|
||||
|
||||
cmakeFlags = lib.optionals (msaClientID != "") [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ]
|
||||
++ lib.optionals (lib.versionAtLeast qtbase.version "6") [ "-DLauncher_QT_VERSION_MAJOR=6" ];
|
||||
|
Loading…
Reference in New Issue
Block a user