The package currently does not build with JDK 26+ (I guess due to the removal of the Java Applet API)
To be able to build again, install jdk25-openjdk and run sudo archlinux-java set java-25-openjdk to select it.
| Git Clone URL: | https://aur.archlinux.org/multimc-git.git (read-only, click to copy) |
|---|---|
| Package Base: | multimc-git |
| Description: | Minecraft launcher with ability to manage multiple instances. Includes old name/icons and ability to sign in with a Microsoft account. |
| Upstream URL: | https://github.com/MultiMC/Launcher |
| Keywords: | minecraft multimc |
| Licenses: | Apache |
| Conflicts: | multimc |
| Provides: | multimc |
| Submitter: | LennyLennington |
| Maintainer: | LennyLennington (Kaydax) |
| Last Packager: | Kaydax |
| Votes: | 9 |
| Popularity: | 0.000000 |
| First Submitted: | 2021-12-13 17:52 (UTC) |
| Last Updated: | 2025-02-15 14:01 (UTC) |
The package currently does not build with JDK 26+ (I guess due to the removal of the Java Applet API)
To be able to build again, install jdk25-openjdk and run sudo archlinux-java set java-25-openjdk to select it.
In a chroot build (pkgctl build) this fails with:
CMake Error at /usr/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package):
Could not find a package configuration file provided by "Qt5Svg" with any
of the following names:
Qt5SvgConfig.cmake
qt5svg-config.cmake
Add the installation prefix of "Qt5Svg" to CMAKE_PREFIX_PATH or set
"Qt5Svg_DIR" to a directory containing one of the above files. If "Qt5Svg"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
libraries/qrcode/CMakeLists.txt:14 (find_package)
-- Configuring incomplete, errors occurred!
It might be missing a qt dep?
EDIT: Yup. Please add qt5-svg.
A test failed for me: 8/15 Test #8: PackageManifest ..................***Failed 0.01 sec
Could you move to using the latest develop branch? The project apparently has abandoned the concept of marking stable releases. See: https://multimc.org/posts/0-7-0-update.html
I am not a lawyer. But looking at https://docs.microsoft.com/en-us/legal/microsoft-identity-platform/terms-of-use#3-application-registration, the Application ID is not considered "secret" and doesn't need to be hidden. In fact, it is publicly available in a static file on the project's website, which is needed to verify to Microsoft that you own the domain. If you ever tried to register an OAuth application in Azure, you will have stumbled over this predictable path which contains the client id/application id in plaintext
Automating the extraction of MultiMC's client ID against their will is sickeningly disrespectful. I can't believe the AUR team rejected the deletion request.
@ISSOtm thanks for reporting that, should be fixed.
The Java version has been bumped from 6 to 7, so modern-java.patch needs to be updated accordingly, replacing 1.6 with 7.
The patch's SHA512 after modification was fed9f3a12441c48b163ae76b2b0e5be2f609e72430f0ae071856d62ff0e0572f429dc116714cbfbf1964191ec3439060fdb07a51a9e86b75be4fea24a2f28ef2 for me, and appears to compile and run just fine.
Okay! :)
Pinned Comments
LennyLennington commented on 2021-12-14 15:05 (UTC) (edited on 2021-12-15 19:07 (UTC) by LennyLennington)
Please note that it is illegal to distribute the binaries created with this script due to MultiMC's licensing. You're still fine using/distributing the PKGBUILD itself to build a local package that you won't redistribute.
If you have any issues please report them here as upstream seems unwilling to cooperate with people who are using anything other than their official binary distribution of the software.