Skip to content

Commit e5d31bd

Browse files
authored
mcpelauncher-client: 1.1.2-qt6 -> 1.2.0-qt6 (#388240)
2 parents 12768aa + 4e8c497 commit e5d31bd

File tree

2 files changed

+8
-23
lines changed

2 files changed

+8
-23
lines changed

pkgs/by-name/mc/mcpelauncher-client/package.nix

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
clangStdenv,
44
stdenv,
55
fetchFromGitHub,
6-
fetchpatch,
76
cmake,
87
pkg-config,
98
openssl,
@@ -23,45 +22,30 @@
2322
xdg-utils,
2423
}:
2524

26-
# gcc doesn't support __has_feature
25+
# Bionic libc part doesn't compile with GCC
2726
clangStdenv.mkDerivation (finalAttrs: {
2827
pname = "mcpelauncher-client";
29-
version = "1.1.2-qt6";
28+
version = "1.2.0-qt6";
3029

3130
# NOTE: check mcpelauncher-ui-qt when updating
3231
src = fetchFromGitHub {
3332
owner = "minecraft-linux";
3433
repo = "mcpelauncher-manifest";
3534
tag = "v${finalAttrs.version}";
3635
fetchSubmodules = true;
37-
hash = "sha256-PmCq6Zgtp17UV0kIbNouFwj/DMiTqwE31+tTb2LUp5o=";
36+
hash = "sha256-SyIiBUZCGcV4NFD7IcQv8YdRkDGhkBeqE0qVsKp+44Y=";
3837
};
3938

40-
patches = [
41-
./dont_download_glfw_client.patch
42-
# These are upcoming changes that have been merged upstream. Once these get in a release, remove these patches.
43-
(fetchpatch {
44-
url = "https://github.com/minecraft-linux/game-window/commit/feea8c0e0720eea7093ed95745c17f36d6c40671.diff";
45-
hash = "sha256-u4uveoKwwklEooT+i+M9kZ0PshjL1IfWhlltmulsQJo=";
46-
stripLen = 1;
47-
extraPrefix = "game-window/";
48-
})
49-
(fetchpatch {
50-
url = "https://github.com/minecraft-linux/mcpelauncher-client/commit/db9c31e46d7367867c85a0d0aba42c8144cdf795.diff";
51-
hash = "sha256-za/9oZYwKCYyZ1BXQ/zeEjRy81B1NpTlPHEfWAOtzHk=";
52-
stripLen = 1;
53-
extraPrefix = "mcpelauncher-client/";
54-
})
55-
];
39+
patches = [ ./dont_download_glfw_client.patch ];
5640

5741
# Path hard-coded paths.
5842
postPatch = lib.optionalString stdenv.isLinux ''
5943
substituteInPlace mcpelauncher-client/src/jni/main_activity.cpp \
6044
--replace-fail /usr/bin/xdg-open ${xdg-utils}/bin/xdg-open \
61-
--replace-fail /usr/bin/zenity ${zenity}/bin/zenity
45+
--replace-fail /usr/bin/zenity ${lib.getExe zenity}
6246
6347
substituteInPlace file-picker/src/file_picker_zenity.cpp \
64-
--replace-fail /usr/bin/zenity ${zenity}/bin/zenity
48+
--replace-fail 'EXECUTABLE_NAME = "zenity"' 'EXECUTABLE_NAME = "${lib.getExe zenity}"'
6549
'';
6650

6751
# FORTIFY_SOURCE breaks libc_shim and the project will fail to compile
@@ -125,6 +109,7 @@ clangStdenv.mkDerivation (finalAttrs: {
125109
maintainers = with lib.maintainers; [
126110
aleksana
127111
morxemplum
112+
phanirithvij
128113
];
129114
mainProgram = "mcpelauncher-client";
130115
platforms = lib.platforms.unix;

pkgs/by-name/mc/mcpelauncher-ui-qt/package.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ stdenv.mkDerivation (finalAttrs: {
2222
repo = "mcpelauncher-ui-manifest";
2323
tag = "v${finalAttrs.version}";
2424
fetchSubmodules = true;
25-
hash = "sha256-R9wE1lS7x1IIPgVahXjF5Yg2ca+GsiQuF41pWf2edXY=";
25+
hash = "sha256-333PwfBWhdfJSi1XrJNHidMYZrzSReb8s4VxBASFQ6Q=";
2626
};
2727

2828
patches = [

0 commit comments

Comments
 (0)