Package Details: polymc-git 5.0.r25.g2358e6fa-3

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: 12
Popularity: 0.000078
First Submitted: 2021-12-28 00:24 (UTC)
Last Updated: 2023-08-02 18:38 (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 »

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.

lovetocode999 commented on 2022-02-04 15:32 (UTC)

@sperg512 Done!

@Scrumplex Thank you for the patch, the build is fixed now.

Scrumplex commented on 2022-02-04 12:48 (UTC)

Patch to fix QuaZip build:

From 1504cdbb7d57d7ba7061833fa1a9bd83703eac6f Mon Sep 17 00:00:00 2001
From: Sefa Eyeoglu <contact@scrumplex.net>
Date: Fri, 4 Feb 2022 13:46:17 +0100
Subject: [PATCH] Fix build for upstream QuaZip

---
 PKGBUILD | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 7274261..3644d1d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@

 _pkgname=polymc
 pkgname=${_pkgname}-git
-pkgver=1.0.5.r35.g81fe41a0
+pkgver=1.0.5.r177.g00e12b77
 pkgrel=1
 pkgdesc="Minecraft launcher with ability to manage multiple instances."
 arch=('i686' 'x86_64')
@@ -22,7 +22,7 @@ optdepends=('glfw: to use system GLFW libraries'
 )
 source=("git+https://github.com/PolyMC/PolyMC"
         "git+https://github.com/MultiMC/libnbtplusplus"
-        "git+https://github.com/PolyMC/quazip")
+        "git+https://github.com/stachenov/quazip")

 sha256sums=('SKIP'
             'SKIP'
@@ -63,7 +63,6 @@ check() {
 package() {
   cd "${srcdir}/PolyMC/build"
   make install DESTDIR="${pkgdir}"
-  install -D "${srcdir}/PolyMC/build/libLauncher_quazip.so" "${pkgdir}/usr/lib/libLauncher_quazip.so"
   install -D "${srcdir}/PolyMC/build/libLauncher_nbt++.so" "${pkgdir}/usr/lib/libLauncher_nbt++.so"
 }

-- 
2.35.1