Package Details: polymc 7.1-2

Git Clone URL: https://aur.archlinux.org/polymc.git (read-only, click to copy)
Package Base: polymc
Description: Minecraft launcher with the ability to manage multiple instances
Upstream URL: https://github.com/PolyMC/PolyMC
Licenses: GPL3
Submitter: glorious-yellow
Maintainer: LennyLennington (Kaydax)
Last Packager: Kaydax
Votes: 74
Popularity: 1.73
First Submitted: 2022-01-11 20:53 (UTC)
Last Updated: 2026-07-14 01:51 (UTC)

Dependencies (18)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

<deleted-account> commented on 2022-06-02 04:45 (UTC)

-march=cannonlake is the culprit, I'll file an issue upstream.

<deleted-account> commented on 2022-06-01 05:18 (UTC)

http://0x0.st/oBEQ.log

Scrumplex commented on 2022-05-27 08:59 (UTC)

melvyn2: Can you somehow get logs from that?

Apparently running ctest --verbose inside the build directory should give you more information.

<deleted-account> commented on 2022-05-26 23:55 (UTC)

==> Starting check()...
Test project /tmp/makepkg/polymc/src/PolyMC-1.3.0/build
Start  1: sys
1/15 Test  #1: sys ..............................   Passed    0.00 sec
Start  2: FileSystem
2/15 Test  #2: FileSystem .......................   Passed    0.00 sec
Start  3: GZip
3/15 Test  #3: GZip .............................Subprocess aborted***Exception:   0.19 sec
Start  4: UpdateChecker
4/15 Test  #4: UpdateChecker ....................***Exception: Illegal  0.01 sec
Start  5: DownloadTask
5/15 Test  #5: DownloadTask .....................***Exception: Illegal  0.01 sec
Start  6: GradleSpecifier
6/15 Test  #6: GradleSpecifier ..................Subprocess aborted***Exception:   0.04 sec
Start  7: PackageManifest
7/15 Test  #7: PackageManifest ..................Subprocess aborted***Exception:   0.04 sec
Start  8: MojangVersionFormat
8/15 Test  #8: MojangVersionFormat ..............***Exception: Illegal  0.00 sec
Start  9: Library
9/15 Test  #9: Library ..........................***Exception: Illegal  0.01 sec
Start 10: ModFolderModel
10/15 Test #10: ModFolderModel ...................***Exception: Illegal  0.01 sec
Start 11: ParseUtils
11/15 Test #11: ParseUtils .......................   Passed    0.00 sec
Start 12: Task
12/15 Test #12: Task .............................***Exception: Illegal  0.01 sec
Start 13: INIFile
13/15 Test #13: INIFile ..........................   Passed    0.00 sec
Start 14: JavaVersion
14/15 Test #14: JavaVersion ......................   Passed    0.00 sec
Start 15: Index
15/15 Test #15: Index ............................***Exception: Illegal  0.01 sec

33% tests passed, 10 tests failed out of 15

Total Test time (real) =   0.35 sec

The following tests FAILED:
3 - GZip (Subprocess aborted)
4 - UpdateChecker (ILLEGAL)
5 - DownloadTask (ILLEGAL)
6 - GradleSpecifier (Subprocess aborted)
7 - PackageManifest (Subprocess aborted)
8 - MojangVersionFormat (ILLEGAL)
9 - Library (ILLEGAL)
10 - ModFolderModel (ILLEGAL)
12 - Task (ILLEGAL)
15 - Index (ILLEGAL)
Errors while running CTest

LennyLennington commented on 2022-04-22 10:40 (UTC)

@dada513 oh yeah you're right my bad

dada513 commented on 2022-04-19 19:05 (UTC) (edited on 2022-04-19 19:05 (UTC) by dada513)

yeah its fine but with the tarball you dont have to maintain submodules void and others already use the tarball as it's easier to maintain it

Scrumplex commented on 2022-04-19 18:38 (UTC)

Using Git as a source is a completely valid approach on Arch Linux. Don't really see a reason to use a vendored tarball

dada513 commented on 2022-04-19 16:42 (UTC)

@LennyLennington no, that patch uses the vendored tarball which is a git checkout generated by github actions that has submodules in it. It does not download any binaries

LennyLennington commented on 2022-04-19 14:37 (UTC) (edited on 2022-04-19 14:40 (UTC) by LennyLennington)

@dada513 that isn't right, that is just a patch to turn it into polymc-bin

dada513 commented on 2022-04-19 11:38 (UTC)

Patch to use vendored tarball, 1.2.0, LTO, and fix dependencies

From 91c7faa77b8c25517134b0695e4c82cf2c65fd7c Mon Sep 17 00:00:00 2001
From: dada513 <dada513@protonmail.com>
Date: Tue, 19 Apr 2022 13:35:33 +0200
Subject: [PATCH] Update to 1.2.0, use vendored tarball, fix dependencies

---
 PKGBUILD | 31 ++++++++++---------------------
 1 file changed, 10 insertions(+), 21 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 7e3e8e6..1f21419 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,16 +3,16 @@
 # Contributor: Lenny McLennington <lennymclennington@protonmail.com>
 # Contributor: Miko <mikoxyzzz@gmail.com>
 # Contributor: Cheru Berhanu <aur attt cheru doot dev>
+# Contributor: dada513 <dada513@protonmail.com>

 pkgname=polymc
-pkgver=1.1.1
+pkgver=1.2.0
 pkgrel=1
 pkgdesc="Minecraft launcher with ability to manage multiple instances."
 arch=('i686' 'x86_64')
 url="https://github.com/PolyMC/PolyMC"
 license=('GPL3')
-depends=('java-runtime' 'libgl' 'qt5-base' 'zlib')
-provides=('polymc')
+depends=('java-runtime' 'libgl' 'qt5-base' 'zlib' 'qt5-imageformats' 'qt5-svg' 'hicolor-icon-theme')
 conflicts=('polymc')
 makedepends=('cmake' 'git' 'java-environment')
 optdepends=('glfw: to use system GLFW libraries'
@@ -20,41 +20,30 @@ optdepends=('glfw: to use system GLFW libraries'
             'visualvm: Profiling support'
             'xorg-xrandr: for older minecraft versions'
 )
-source=("PolyMC::git+https://github.com/PolyMC/PolyMC#tag=${pkgver}"
-        "git+https://github.com/MultiMC/libnbtplusplus#commit=dc72a20b7efd304d12af2025223fad07b4b78464"
-        "git+https://github.com/PolyMC/quazip#commit=c9ef32de19bceb58d236f5c22382698deaec69fd")
+source=("https://github.com/PolyMC/PolyMC/releases/download/$pkgver/PolyMC-$pkgver.tar.gz")

-sha256sums=('SKIP'
-            'SKIP'
-            'SKIP')
-
-prepare() {
-  cd "${srcdir}/PolyMC"
-  git submodule init
-  git config submodule.libnbtplusplus.url "${srcdir}/libnbtplusplus"
-  git config submodule.quazip.url "${srcdir}/quazip"
-  git submodule update
-}
+sha256sums=('f2bc1b0b18a166445e3ca03d3e0f606043c57b1811317079603bef4e44994484')

 build() {
-  cd "${srcdir}/PolyMC"
+  cd "${srcdir}/PolyMC-$pkgver"
   mkdir -p build

   cd build
   cmake -DCMAKE_BUILD_TYPE=None \
     -DCMAKE_INSTALL_PREFIX="/usr" \
-    -DLauncher_PORTABLE=OFF \
+    -DLauncher_BUILD_PLATFORM="archlinux" \
     -DLauncher_APP_BINARY_NAME="${pkgname}" \
+    -DENABLE_LTO=ON \
     ..
   cmake --build .
 }

 check() {
-  cd "${srcdir}/PolyMC/build"
+  cd "${srcdir}/PolyMC-$pkgver/build"
   ctest .
 }

 package() {
-  cd "${srcdir}/PolyMC/build"
+  cd "${srcdir}/PolyMC-$pkgver/build"
   DESTDIR="$pkgdir" cmake --install .
 }
-- 
2.35.3