prismlauncher: 6.3 -> 7.0 (#236705)

* prismlauncher: 6.3 -> 7.0

* prismlauncher: add getchoo as comaintainer
This commit is contained in:
seth 2023-06-11 16:00:20 -04:00 committed by GitHub
parent c60a209f3e
commit e7eeb95289
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 4 deletions

View file

@ -5761,6 +5761,12 @@
githubId = 10353047;
name = "Tobias Happ";
};
getchoo = {
email = "getchoo@tuta.io";
github = "getchoo";
githubId = 48872998;
name = "Seth";
};
gfrascadorio = {
email = "gfrascadorio@tutanota.com";
github = "gfrascadorio";

View file

@ -2,6 +2,7 @@
, stdenv
, fetchFromGitHub
, cmake
, cmark
, ninja
, jdk17
, zlib
@ -24,13 +25,13 @@ let
in
stdenv.mkDerivation rec {
pname = "prismlauncher-unwrapped";
version = "6.3";
version = "7.0";
src = fetchFromGitHub {
owner = "PrismLauncher";
repo = "PrismLauncher";
rev = version;
sha256 = "sha256-7tptHKWkbdxTn6VIPxXE1K3opKRiUW2zv9r6J05dcS8=";
sha256 = "sha256-jBBHWN/ERUVzJAyebN7eFCODZg1P7QYPOBPIM+bIbak=";
};
nativeBuildInputs = [ extra-cmake-modules cmake jdk17 ninja ];
@ -40,12 +41,13 @@ stdenv.mkDerivation rec {
quazip
ghc_filesystem
tomlplusplus
cmark
] ++ lib.optional gamemodeSupport gamemode;
hardeningEnable = [ "pie" ];
cmakeFlags = lib.optionals (msaClientID != null) [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ]
++ lib.optionals (lib.versionAtLeast qtbase.version "6") [ "-DLauncher_QT_VERSION_MAJOR=6" ];
++ lib.optionals (lib.versionOlder qtbase.version "6") [ "-DLauncher_QT_VERSION_MAJOR=5" ];
postUnpack = ''
rm -rf source/libraries/libnbtplusplus
@ -65,6 +67,6 @@ stdenv.mkDerivation rec {
platforms = platforms.linux;
changelog = "https://github.com/PrismLauncher/PrismLauncher/releases/tag/${version}";
license = licenses.gpl3Only;
maintainers = with maintainers; [ minion3665 Scrumplex ];
maintainers = with maintainers; [ minion3665 Scrumplex getchoo ];
};
}