mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
build: remove vendored gamemode code
Signed-off-by: Seth Flynn <getchoo@tuta.io>
This commit is contained in:
parent
e2c31569dc
commit
38afa3a94c
8 changed files with 9 additions and 361 deletions
|
|
@ -15,12 +15,8 @@
|
|||
tomlplusplus,
|
||||
zlib,
|
||||
msaClientID ? null,
|
||||
gamemodeSupport ? stdenv.hostPlatform.isLinux,
|
||||
libarchive,
|
||||
}:
|
||||
assert lib.assertMsg (
|
||||
gamemodeSupport -> stdenv.hostPlatform.isLinux
|
||||
) "gamemodeSupport is only available on Linux.";
|
||||
|
||||
let
|
||||
date =
|
||||
|
|
@ -83,7 +79,7 @@ stdenv.mkDerivation {
|
|||
tomlplusplus
|
||||
zlib
|
||||
]
|
||||
++ lib.optional gamemodeSupport gamemode;
|
||||
++ lib.optional stdenv.hostPlatform.isLinux gamemode;
|
||||
|
||||
cmakeFlags = [
|
||||
# downstream branding
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ assert lib.assertMsg (
|
|||
) "textToSpeechSupport only has an effect on Linux.";
|
||||
|
||||
let
|
||||
prismlauncher' = prismlauncher-unwrapped.override { inherit msaClientID gamemodeSupport; };
|
||||
prismlauncher' = prismlauncher-unwrapped.override { inherit msaClientID; };
|
||||
in
|
||||
|
||||
symlinkJoin {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue