makedeb


fjordlauncher 9.1.0-1


Prism Launcher fork with support for alternative auth servers

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

Commit:


Hash: 631408d459329670966291f4d9ed8c5d1127faf4

Message: fjordlauncher: init at 8.4.1

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 9f37764..29a0341 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,11 @@
 generated-by = makedeb
-pkgname = prismlauncher
+pkgname = fjordlauncher
 postinst = postinst.sh
-pkgbase = prismlauncher
-pkgdesc = Minecraft launcher with ability to manage multiple instances.
+pkgbase = fjordlauncher
+pkgdesc = Prism Launcher fork with support for alternative auth servers
 pkgrel = 1
-pkgver = 8.4
-url = https://prismlauncher.org
+pkgver = 8.4.1
+url = https://github.com/unmojang/FjordLauncher
 arch = i386
 arch = amd64
 arch = arm64
@@ -37,12 +37,12 @@ optdepends = s!gamemode: support for GameMode
 optdepends = s!mangohud: HUD overlay for FPS and temperatures
 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.4/PrismLauncher-8.4.tar.gz
+source = https://github.com/unmojang/FjordLauncher/releases/download/8.4.1/FjordLauncher-8.4.1.tar.gz
 source = gcc-armv7-fix.patch
 source = copyright
-sha256sums = a4df9059559df2e410ddf933e05fe4bffaa01631c6eeb55e63af4a2d0d719726
+sha256sums = a10fe260522b0af1e57711e17c8bba26ddb41a0ce08324d04c71b31a9f4e1880
 sha256sums = 42394447d4b52c9329ff45f3c700c0eb2090a5803c5de010587d64294c37420f
-sha256sums = 55f14ca1c20ba05785b248b3454ce2671149112d6b7c1a4e4fd24f4dde8f4c71
+sha256sums = 276999f42582d6ac34410b4b008cbbcf03b2a93b587d3393038c37c991085c2b
 makedepends = scdoc
 makedepends = extra-cmake-modules
 makedepends = cmake
diff --git a/PKGBUILD b/PKGBUILD
index b21769a..d42506b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,13 +1,11 @@
-# Maintainer: lordpipe <lordpipe@protonmail.com>
-# Contributor: Sefa Eyeoglu <conctact@scrumplex.net>
-# Contributor: dada513 <dada513@protonmail.com>
+# Maintainer: Evan Goode <mail@evangoo.de>
 
-pkgname=prismlauncher
-pkgver=8.4
+pkgname=fjordlauncher
+pkgver=8.4.1
 pkgrel=1
-pkgdesc='Minecraft launcher with ability to manage multiple instances.'
+pkgdesc='Prism Launcher fork with support for alternative auth servers'
 arch=('i386' 'amd64' 'arm64' 'armhf' 'riscv64')
-url='https://prismlauncher.org'
+url='https://github.com/unmojang/FjordLauncher'
 license=('GPL-3')
 depends=('libqt6svg6' 'qt6-image-formats-plugins' 'libqt6xml6' 'libqt6core6' 'libqt6network6' 'libqt6core5compat6')
 makedepends=('scdoc' 'extra-cmake-modules' 'cmake' 'git' 'openjdk-17-jdk' 'zlib1g-dev' 'libgl1-mesa-dev' 'qt6-base-dev' 'qtchooser' 'libqt6core5compat6-dev' 'gcc' 'g++')
@@ -18,12 +16,12 @@ optdepends=('java-runtime=21: support for Minecraft versions >= 1.20.5'
             's!mangohud: HUD overlay for FPS and temperatures'
             '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/unmojang/FjordLauncher/releases/download/$pkgver/FjordLauncher-$pkgver.tar.gz"
         'gcc-armv7-fix.patch'
         'copyright')
-sha256sums=('a4df9059559df2e410ddf933e05fe4bffaa01631c6eeb55e63af4a2d0d719726'
+sha256sums=('a10fe260522b0af1e57711e17c8bba26ddb41a0ce08324d04c71b31a9f4e1880'
             '42394447d4b52c9329ff45f3c700c0eb2090a5803c5de010587d64294c37420f'
-            '55f14ca1c20ba05785b248b3454ce2671149112d6b7c1a4e4fd24f4dde8f4c71')
+            '276999f42582d6ac34410b4b008cbbcf03b2a93b587d3393038c37c991085c2b')
 postinst=postinst.sh
 
 # allow for ARM support
@@ -69,14 +67,14 @@ prepare() {
     # more info: https://github.com/PrismLauncher/PrismLauncher/issues/128
     if [[ "$(uname -m)" = armv7* ]]; then
         echo "GCC / ARMv7 fix is needed for this architecture, applying gcc-armv7-fix.patch"
-        patch --directory="PrismLauncher-$pkgver" --forward --strip=1 --input="${srcdir}/gcc-armv7-fix.patch"
+        patch --directory="FjordLauncher-$pkgver" --forward --strip=1 --input="${srcdir}/gcc-armv7-fix.patch"
     else
         echo "GCC / ARMv7 fix is not needed for this architecture, skipping gcc-armv7-fix.patch"
     fi
 }
 
 build() {
-    cd "${srcdir}/PrismLauncher-$pkgver"
+    cd "${srcdir}/FjordLauncher-$pkgver"
     cmake -DCMAKE_BUILD_TYPE=Debug \
           -DCMAKE_INSTALL_PREFIX="/usr" \
           -DLauncher_BUILD_PLATFORM="debian" \
@@ -87,13 +85,15 @@ build() {
 }
 
 check() {
-    cd "${srcdir}/PrismLauncher-$pkgver/build"
+    cd "${srcdir}/FjordLauncher-$pkgver/build"
     ctest . -E Task  # Skip unreliable Task test
 }
 
 package() {
-    cd "${srcdir}/PrismLauncher-$pkgver/build"
+    cd "${srcdir}/FjordLauncher-$pkgver/build"
     DESTDIR="$pkgdir" cmake --install .
     mkdir -p "${pkgdir}/usr/share/doc/$pkgname"
+    mv "${pkgdir}/usr/share/mime/packages/modrinth-mrpack-mime.xml" \
+       "${pkgdir}/usr/share/mime/packages/fjordlauncher-modrinth-mrpack-mime.xml"
     cp -v "${srcdir}/copyright" "${pkgdir}/usr/share/doc/$pkgname/copyright"
 }
diff --git a/copyright b/copyright
index 1a33a87..b0d2aec 100644
--- a/copyright
+++ b/copyright
@@ -1,9 +1,11 @@
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: prismlauncher
-Source: https://github.com/PrismLauncher/PrismLauncher/
+Upstream-Name: fjordlauncher
+Source: https://github.com/unmojang/FjordLauncher/
 
 Files: *
-Copyright: 2022-2023, Prism Launcher Contributors
+Copyright: 2024-2024, Fjord Launcher Contributors
+           2022-2023, PollyMC Contributors
+           2022-2023, Prism Launcher Contributors
            2021-2022, PolyMC Contributors
            2013-2021, MultiMC Contributors
            2013-2021, Petr Mrazek <peterix@gmail.com>
@@ -65,7 +67,8 @@ License: Expat
 
 Files:
  launcher/resources/*
-Copyright: 2022-2023, Prism Launcher Contributors
+Copyright: 2022-2023, PollyMC Contributors
+           2022-2023, Prism Launcher Contributors
            2021-2022, PolyMC Contributors
            2014-2023, KDE Contributors
            2014, Austin Andrews