Package Details: polymc-git 6.0.r16.g62fd3d43-1

Git Clone URL: https://aur.archlinux.org/polymc-git.git (read-only, click to copy)
Package Base: polymc-git
Description: Minecraft launcher with the ability to manage multiple instances.
Upstream URL: https://github.com/PolyMC/PolyMC
Licenses: GPL3
Conflicts: polymc
Provides: polymc
Submitter: lovetocode999
Maintainer: LennyLennington (Kaydax, sperg512)
Last Packager: Kaydax
Votes: 14
Popularity: 0.69
First Submitted: 2021-12-28 00:24 (UTC)
Last Updated: 2024-06-06 20:58 (UTC)

Dependencies (21)

Required by (1)

Sources (2)

Pinned Comments

Scrumplex commented on 2022-07-11 08:09 (UTC) (edited on 2022-07-11 08:10 (UTC) by Scrumplex)

This package has now switched to Qt 6 instead of Qt 5. If you want to keep using Qt 5 instead, then please switch to polymc-qt5-git.

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

txtsd commented on 2022-04-23 10:10 (UTC)

@Thect36 Try a clean build.

Thect36 commented on 2022-04-23 10:01 (UTC)

I'm having issue downloading.

 -> error downloading sources: polymc-git
         context: error downloading sources: polymc-git
         context: exit status 1
==> ERROR: /home/choushin/.cache/yay/polymc-git/libnbtplusplus is not a clone of https://github.com/PolyMC/libnbtplusplus

Any suggestion?

Scrumplex commented on 2022-04-22 07:37 (UTC)

admalledd: You can edit your makepkg.conf to set -j<whatever> globally for all packages. See https://wiki.archlinux.org/title/Makepkg#Improving_compile_times

admalledd commented on 2022-04-22 05:35 (UTC)

For those of us with more than one core, chances the build line could be changed from: cmake --build . to: cmake --build . -j ? Or am I being silly and missing something on why not to do so?

LennyLennington commented on 2022-03-12 17:57 (UTC) (edited on 2022-03-12 17:59 (UTC) by LennyLennington)

@lovetocode999 are you on the matrix or discord rooms? It would probably be a lot easier to communicate with you about changes that need to be made.

waltibaba commented on 2022-03-09 12:07 (UTC) (edited on 2022-03-09 12:38 (UTC) by waltibaba)

EDIT: found the issue, qt5-styleplugins is not in sync, just rebuild it if you have it installed then all qt5 applications will work again

As of qt5-base-5.15.3+kde+r120-1 released 2022-03-04, this doesn't work anymore since it seems to be expecting qt 5.15.2 hard-coded.

$ polymc
Cannot mix incompatible Qt library (5.15.2) with this library (5.15.3)
Aborted (core dumped)

None of the other MultiMC or PolyMC versions work anymore, so this is almost certainly upstream. I'm not a Qt wiz so not sure whether some patch could be applied to build metadata or such as a workaround.

lovetocode999 commented on 2022-03-07 04:35 (UTC)

@Scrumplex

Thank you for the patch, and I sincerely apologize for how long it took me to apply it!

Scrumplex commented on 2022-03-02 08:29 (UTC)

Patch to use new Launcher_PORTABLE flag:

From a282ef77ea99a07fd12295d81402e138b9b3c163 Mon Sep 17 00:00:00 2001
From: Sefa Eyeoglu <contact@scrumplex.net>
Date: Wed, 2 Mar 2022 09:28:33 +0100
Subject: [PATCH] fix: switch to Launcher_PORTABLE=OFF

---
 .SRCINFO | 4 ++--
 PKGBUILD | 7 +++----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/.SRCINFO b/.SRCINFO
index b87e688..22cbc51 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
 pkgbase = polymc-git
    pkgdesc = Minecraft launcher with ability to manage multiple instances.
-   pkgver = 1.0.5.r177.g00e12b77
-   pkgrel = 2
+   pkgver = 1.0.6.r350.gca211558
+   pkgrel = 1
    url = https://github.com/PolyMC/PolyMC
    arch = i686
    arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index f67371b..9bc5e38 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,8 @@

 _pkgname=polymc
 pkgname=${_pkgname}-git
-pkgver=1.0.5.r177.g00e12b77
-pkgrel=2
+pkgver=1.0.6.r350.gca211558
+pkgrel=1
 pkgdesc="Minecraft launcher with ability to manage multiple instances."
 arch=('i686' 'x86_64')
 url="https://github.com/PolyMC/PolyMC"
@@ -48,9 +48,8 @@ build() {
   cd build
   cmake -DCMAKE_BUILD_TYPE=None \
     -DCMAKE_INSTALL_PREFIX="/usr" \
-    -DLauncher_LAYOUT=lin-system \
+    -DLauncher_PORTABLE=OFF \
     -DLauncher_APP_BINARY_NAME="${_pkgname}" \
-    -DLauncher_SHARE_DEST_DIR="share/${_pkgname}" \
     ..
   make
 }
-- 
2.35.1

dada513 commented on 2022-03-01 16:16 (UTC)

@disastro install java and use archlinux-java to set the correct paths

disastro commented on 2022-02-19 14:39 (UTC)

Won't build

CMake Error at libraries/launcher/CMakeLists.txt:2 (project): No CMAKE_Java_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment variable "JAVA_COMPILER" or the CMake cache entry CMAKE_Java_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.