prismlauncher: 7.1 -> 7.2

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-07-26 14:21:33 +02:00
parent c516ad1ee1
commit 68c080daae
No known key found for this signature in database
GPG key ID: E13DFD4B47127951

View file

@ -25,13 +25,13 @@ let
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "prismlauncher-unwrapped"; pname = "prismlauncher-unwrapped";
version = "7.1"; version = "7.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "PrismLauncher"; owner = "PrismLauncher";
repo = "PrismLauncher"; repo = "PrismLauncher";
rev = version; rev = version;
sha256 = "sha256-ri4oaeJKmvjJapUASPX10nl4JcLPjA3SgTp2EyaEPWg="; sha256 = "sha256-RArg60S91YKp1Mt97a5JNfBEOf2cmuX4pK3VAx2WfqM=";
}; };
nativeBuildInputs = [ extra-cmake-modules cmake jdk17 ninja ]; nativeBuildInputs = [ extra-cmake-modules cmake jdk17 ninja ];
@ -46,7 +46,10 @@ stdenv.mkDerivation rec {
hardeningEnable = [ "pie" ]; hardeningEnable = [ "pie" ];
cmakeFlags = lib.optionals (msaClientID != null) [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ] cmakeFlags = [
# downstream branding
"-DLauncher_BUILD_PLATFORM=nixpkgs"
] ++ lib.optionals (msaClientID != null) [ "-DLauncher_MSA_CLIENT_ID=${msaClientID}" ]
++ lib.optionals (lib.versionOlder qtbase.version "6") [ "-DLauncher_QT_VERSION_MAJOR=5" ]; ++ lib.optionals (lib.versionOlder qtbase.version "6") [ "-DLauncher_QT_VERSION_MAJOR=5" ];
postUnpack = '' postUnpack = ''