makedeb


pollymc 8.0-1


DRM-free Prism Launcher fork with support for custom auth servers

Click here to go back to the commit logs for pollymc.

Commit:


Hash: 21a239895cf9bde28be640cab19f8ee051733f86

Message: Fork to PollyMC

Diff


diff --git a/.SRCINFO b/.SRCINFO
index ff7a96b..f8fcf3e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,10 @@
 generated-by = makedeb
-pkgname = prismlauncher
-pkgbase = prismlauncher
-pkgdesc = Minecraft launcher with ability to manage multiple instances.
+pkgname = pollymc
+pkgbase = pollymc
+pkgdesc = DRM-free Prism Launcher fork with support for custom auth servers
 pkgrel = 1
 pkgver = 8.0
-url = https://prismlauncher.org
+url = https://github.com/fn2006/PollyMC
 arch = i386
 arch = amd64
 arch = arm64
@@ -35,12 +35,12 @@ optdepends = s!java-runtime=8: support for Minecraft versions <= 1.16
 optdepends = s!gamemode: support for GameMode
 optdepends = s!flite: narrator support
 optdepends = s!x11-xserver-utils: xrandr is needed to support Minecraft versions <= 1.12
-source = https://github.com/PrismLauncher/PrismLauncher/releases/download/8.0/PrismLauncher-8.0.tar.gz
+source = https://github.com/fn2006/PollyMC/releases/download/8.0/PollyMC-8.0.tar.gz
 source = gcc-armv7-fix.patch
 source = copyright
-sha256sums = 462f35eeda6e107b5f23a97500accf43e4227a0fb40145b29d0895bcfe3372b0
+sha256sums = 78d1c4bdda34b9336b82f5fed65a46a5e6e3721ae144ad6cbe812ce6534f3d14
 sha256sums = 42394447d4b52c9329ff45f3c700c0eb2090a5803c5de010587d64294c37420f
-sha256sums = 55f14ca1c20ba05785b248b3454ce2671149112d6b7c1a4e4fd24f4dde8f4c71
+sha256sums = 1c79f5bd58d67f0ca5f9b7534a737109ffa3a544840325c1faea06d4b68ae265
 makedepends = scdoc
 makedepends = extra-cmake-modules
 makedepends = cmake
diff --git a/PKGBUILD b/PKGBUILD
index 736be82..147966f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,11 @@
-# Maintainer: Sefa Eyeoglu <conctact@scrumplex.net>
-# Contributor: dada513 <dada513@protonmail.com>
-# Contributor: lordpipe <lordpipe@protonmail.com>
+# Maintainer: Evan Goode <mail@evangoo.de>
 
-pkgname=prismlauncher
+pkgname=pollymc
 pkgver=8.0
 pkgrel=1
-pkgdesc='Minecraft launcher with ability to manage multiple instances.'
+pkgdesc='DRM-free Prism Launcher fork with support for custom auth servers'
 arch=('i386' 'amd64' 'arm64' 'armhf' 'riscv64')
-url='https://prismlauncher.org'
+url='https://github.com/fn2006/PollyMC'
 license=('GPL-3')
 depends=('libqt5svg5' 'qt5-image-formats-plugins' 'libqt5xml5' 'libqt5core5a' 'libqt5network5' 'libqt5gui5')
 makedepends=('scdoc' 'extra-cmake-modules' 'cmake' 'git' 'openjdk-17-jdk' 'zlib1g-dev' 'libgl1-mesa-dev' 'qtbase5-dev' 'qtchooser' 'qt5-qmake' 'qtbase5-dev-tools' 'gcc' 'g++')
@@ -16,12 +14,14 @@ optdepends=('java-runtime=17: support for Minecraft versions >= 1.17'
             's!gamemode: support for GameMode'
             's!flite: narrator support'
             's!x11-xserver-utils: xrandr is needed to support Minecraft versions <= 1.12')
-source=("https://github.com/PrismLauncher/PrismLauncher/releases/download/$pkgver/PrismLauncher-$pkgver.tar.gz"
+source=("https://github.com/fn2006/PollyMC/releases/download/$pkgver/PollyMC-$pkgver.tar.gz"
         'gcc-armv7-fix.patch'
         'copyright')
-sha256sums=('462f35eeda6e107b5f23a97500accf43e4227a0fb40145b29d0895bcfe3372b0'
+sha256sums=('78d1c4bdda34b9336b82f5fed65a46a5e6e3721ae144ad6cbe812ce6534f3d14'
             '42394447d4b52c9329ff45f3c700c0eb2090a5803c5de010587d64294c37420f'
-            '55f14ca1c20ba05785b248b3454ce2671149112d6b7c1a4e4fd24f4dde8f4c71')
+            '1c79f5bd58d67f0ca5f9b7534a737109ffa3a544840325c1faea06d4b68ae265')
+
+MAKEFLAGS="-j$(nproc)"
 
 # allow for ARM support
 #TODO: makedeb's hard-coding for x86-64 has been fixed in a future makedeb version
@@ -73,7 +73,7 @@ prepare() {
 }
 
 build() {
-    cd "${srcdir}/PrismLauncher-$pkgver"
+    cd "${srcdir}/PollyMC-$pkgver"
     cmake -DCMAKE_BUILD_TYPE=None \
           -DCMAKE_INSTALL_PREFIX="/usr" \
           -DLauncher_BUILD_PLATFORM="debian" \
@@ -85,12 +85,12 @@ build() {
 }
 
 check() {
-    cd "${srcdir}/PrismLauncher-$pkgver/build"
+    cd "${srcdir}/PollyMC-$pkgver/build"
     ctest . -E Task  # Skip unreliable Task test
 }
 
 package() {
-    cd "${srcdir}/PrismLauncher-$pkgver/build"
+    cd "${srcdir}/PollyMC-$pkgver/build"
     DESTDIR="$pkgdir" cmake --install .
     mkdir -p "${pkgdir}/usr/share/doc/$pkgname"
     cp -v "${srcdir}/copyright" "${pkgdir}/usr/share/doc/$pkgname/copyright"
diff --git a/copyright b/copyright
index 1a33a87..f95367b 100644
--- a/copyright
+++ b/copyright
@@ -1,9 +1,10 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: prismlauncher
-Source: https://github.com/PrismLauncher/PrismLauncher/
+Upstream-Name: pollymc
+Source: https://github.com/fn2006/PollyMC/
 
 Files: *
-Copyright: 2022-2023, Prism Launcher Contributors
+Copyright: 2022-2023, PollyMC Contributors
+           2022-2023, Prism Launcher Contributors
            2021-2022, PolyMC Contributors
            2013-2021, MultiMC Contributors
            2013-2021, Petr Mrazek <peterix@gmail.com>