This package allows Minecraft to run on Wayland by patching GLFW to not crash when calling unimplemented methods used by Minecraft.
- Install the
glfw-git-minecraft
package from the AUR. - Add
-Dorg.lwjgl.glfw.libname=/usr/lib/libglfw.so
to the JVM arguments in the Minecraft launcher.
- Clone the GLFW repository.
- Apply the patches from this repository:
git apply --directory=glfw/ --ignore-space-change --ignore-whitespace --reject --verbose -- *.patch
- Build and install GLFW as usual.
- Add
-Dorg.lwjgl.glfw.libname=/usr/lib/libglfw.so
to the JVM arguments in the Minecraft launcher.
- glfw-minecraft-wayland by Admicos for the original patch.
- glfw-git for the original Arch Linux package.