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; githubId = 10353047;
name = "Tobias Happ"; name = "Tobias Happ";
}; };
getchoo = {
email = "getchoo@tuta.io";
github = "getchoo";
githubId = 48872998;
name = "Seth";
};
gfrascadorio = { gfrascadorio = {
email = "gfrascadorio@tutanota.com"; email = "gfrascadorio@tutanota.com";
github = "gfrascadorio"; github = "gfrascadorio";

View file

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