prismlauncher: 6.3 -> 7.0 (#236705)
* prismlauncher: 6.3 -> 7.0 * prismlauncher: add getchoo as comaintainer
This commit is contained in:
parent
c60a209f3e
commit
e7eeb95289
|
@ -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";
|
||||||
|
|
|
@ -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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue