makedeb


prismlauncher 9.1-1


Minecraft launcher with ability to manage multiple instances.

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

Commit:


Hash: d5d33afd54e1f7dbe88ced03c63dbf57b8f11596

Message: update to 9.0 Signed-off-by: lordofpipes <lordpipe@protonmail.com>

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 32db32c..5ae60d5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,63 +3,66 @@ pkgname = prismlauncher
 postinst = postinst.sh
 pkgbase = prismlauncher
 pkgdesc = Minecraft launcher with ability to manage multiple instances.
-pkgrel = 2
-pkgver = 8.4
+pkgrel = 1
+pkgver = 9.0
 url = https://prismlauncher.org
 arch = i386
 arch = amd64
 arch = arm64
 arch = armhf
 arch = riscv64
-depends = libqt6svg6
-depends = qt6-image-formats-plugins
-depends = libqt6xml6
+depends = libqt6core5compat6
 depends = libqt6core6
 depends = libqt6network6
-depends = libqt6core5compat6
+depends = libqt6networkauth6
+depends = libqt6svg6
 depends = libqt6widgets6
+depends = libqt6xml6
+depends = qt6-image-formats-plugins
 license = GPL-3
-makedepends = scdoc
-makedepends = extra-cmake-modules
 makedepends = cmake
+makedepends = extra-cmake-modules
+makedepends = g++
+makedepends = gcc
 makedepends = git
-makedepends = openjdk-17-jdk
-makedepends = zlib1g-dev
 makedepends = libgl1-mesa-dev
+makedepends = libqt6core5compat6-dev
+makedepends = openjdk-17-jdk
 makedepends = qt6-base-dev
+makedepends = qt6-networkauth-dev
 makedepends = qtchooser
-makedepends = libqt6core5compat6-dev
-makedepends = gcc
-makedepends = g++
+makedepends = scdoc
+makedepends = zlib1g-dev
+optdepends = flite: narrator support
+optdepends = java-runtime=17: support for Minecraft versions >= 1.17 and <= 1.20.4
 optdepends = java-runtime=21: support for Minecraft versions >= 1.20.5
-optdepends = s!java-runtime=17: support for Minecraft versions >= 1.17 and <= 1.20.4
-optdepends = s!java-runtime=8: support for Minecraft versions <= 1.16
+optdepends = java-runtime=8: support for Minecraft versions <= 1.16
+optdepends = x11-xserver-utils: xrandr is needed to support Minecraft versions <= 1.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/PrismLauncher/PrismLauncher/releases/download/9.0/PrismLauncher-9.0.tar.gz
 source = gcc-armv7-fix.patch
 source = copyright
-sha256sums = a4df9059559df2e410ddf933e05fe4bffaa01631c6eeb55e63af4a2d0d719726
+sha256sums = 8c3dae2469c70d460cd8e2747dc4e61c2e31c15f0754d9e41e23563ac544e2be
 sha256sums = 42394447d4b52c9329ff45f3c700c0eb2090a5803c5de010587d64294c37420f
 sha256sums = 55f14ca1c20ba05785b248b3454ce2671149112d6b7c1a4e4fd24f4dde8f4c71
-makedepends = scdoc
-makedepends = extra-cmake-modules
 makedepends = cmake
+makedepends = extra-cmake-modules
+makedepends = g++
+makedepends = gcc
 makedepends = git
-makedepends = openjdk-17-jdk
-makedepends = zlib1g-dev
 makedepends = libgl1-mesa-dev
+makedepends = libqt6core5compat6-dev
+makedepends = openjdk-17-jdk
 makedepends = qt6-base-dev
+makedepends = qt6-networkauth-dev
 makedepends = qtchooser
-makedepends = libqt6core5compat6-dev
-makedepends = gcc
-makedepends = g++
+makedepends = scdoc
+makedepends = zlib1g-dev
+optdepends = flite: narrator support
+optdepends = java-runtime=17: support for Minecraft versions >= 1.17 and <= 1.20.4
 optdepends = java-runtime=21: support for Minecraft versions >= 1.20.5
-optdepends = s!java-runtime=17: support for Minecraft versions >= 1.17 and <= 1.20.4
-optdepends = s!java-runtime=8: support for Minecraft versions <= 1.16
+optdepends = java-runtime=8: support for Minecraft versions <= 1.16
+optdepends = x11-xserver-utils: xrandr is needed to support Minecraft versions <= 1.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
diff --git a/PKGBUILD b/PKGBUILD
index ae20795..91e04a7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,25 +3,44 @@
 # Contributor: dada513 <dada513@protonmail.com>
 
 pkgname=prismlauncher
-pkgver=8.4
-pkgrel=2
+pkgver=9.0
+pkgrel=1
 pkgdesc='Minecraft launcher with ability to manage multiple instances.'
 arch=('i386' 'amd64' 'arm64' 'armhf' 'riscv64')
 url='https://prismlauncher.org'
 license=('GPL-3')
-depends=('libqt6svg6' 'qt6-image-formats-plugins' 'libqt6xml6' 'libqt6core6' 'libqt6network6' 'libqt6core5compat6' 'libqt6widgets6')
-makedepends=('scdoc' 'extra-cmake-modules' 'cmake' 'git' 'openjdk-17-jdk' 'zlib1g-dev' 'libgl1-mesa-dev' 'qt6-base-dev' 'qtchooser' 'libqt6core5compat6-dev' 'gcc' 'g++')
-optdepends=('java-runtime=21: support for Minecraft versions >= 1.20.5'
-            's!java-runtime=17: support for Minecraft versions >= 1.17 and <= 1.20.4'
-            's!java-runtime=8: support for Minecraft versions <= 1.16'
+depends=('libqt6core5compat6'
+         'libqt6core6'
+         'libqt6network6'
+         'libqt6networkauth6'
+         'libqt6svg6'
+         'libqt6widgets6'
+         'libqt6xml6'
+         'qt6-image-formats-plugins')
+makedepends=('cmake'
+             'extra-cmake-modules'
+             'g++'
+             'gcc'
+             'git'
+             'libgl1-mesa-dev'
+             'libqt6core5compat6-dev'
+             'openjdk-17-jdk'
+             'qt6-base-dev'
+             'qt6-networkauth-dev'
+             'qtchooser'
+             'scdoc'
+             'zlib1g-dev')
+optdepends=('flite: narrator support'
+            'java-runtime=17: support for Minecraft versions >= 1.17 and <= 1.20.4'
+            'java-runtime=21: support for Minecraft versions >= 1.20.5'
+            'java-runtime=8: support for Minecraft versions <= 1.16'
+            'x11-xserver-utils: xrandr is needed to support Minecraft versions <= 1.12'
             's!gamemode: support for GameMode'
-            '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')
+            's!mangohud: HUD overlay for FPS and temperatures')
 source=("https://github.com/PrismLauncher/PrismLauncher/releases/download/$pkgver/PrismLauncher-$pkgver.tar.gz"
         'gcc-armv7-fix.patch'
         'copyright')
-sha256sums=('a4df9059559df2e410ddf933e05fe4bffaa01631c6eeb55e63af4a2d0d719726'
+sha256sums=('8c3dae2469c70d460cd8e2747dc4e61c2e31c15f0754d9e41e23563ac544e2be'
             '42394447d4b52c9329ff45f3c700c0eb2090a5803c5de010587d64294c37420f'
             '55f14ca1c20ba05785b248b3454ce2671149112d6b7c1a4e4fd24f4dde8f4c71')
 postinst=postinst.sh
@@ -77,10 +96,11 @@ prepare() {
 
 build() {
     cd "${srcdir}/PrismLauncher-$pkgver"
-    cmake -DCMAKE_BUILD_TYPE=Debug \
+    cmake -DCMAKE_BUILD_TYPE=Release \
           -DCMAKE_INSTALL_PREFIX="/usr" \
           -DLauncher_BUILD_PLATFORM="debian" \
           -DLauncher_APP_BINARY_NAME="${pkgname}" \
+          -DLauncher_ENABLE_JAVA_DOWNLOADER=ON \
           -DENABLE_LTO=ON \
           -Bbuild -S.
     cmake --build build
diff --git a/postinst.sh b/postinst.sh
index ccb9ae4..11c8288 100755
--- a/postinst.sh
+++ b/postinst.sh
@@ -1,24 +1,10 @@
 #!/bin/bash
 cat << EOF
 *==================== PrismLauncher for Debian and Ubuntu ====================*
- Welcome to PrismLauncher! You will need to install the Java version
- appropriate for the Minecraft versions you wish to play:
-
- - Minecraft classic to Minecraft 1.16:
-   # apt install java-runtime=8
- - Minecraft 1.17 to 1.20.4:
-   # apt install java-runtime=17
- - Minecraft 1.20.5 and above:
-   # apt install java-runtime=21
-
- Depending on the support cycles for your distribution, you may
- need to install a distribution of Java from the Adoptium OpenJDK
- archives. See https://adoptium.net/installation/linux/ for more details
+ Welcome to PrismLauncher!
 
  The following optional peer dependencies are available for integration:
 
- - CMU Flite - Speech synthesis engine that Minecraft uses for the narrator
-   # apt install flite
  - GameMode - Optimise Linux system performance on demand
    # apt install gamemode
  - MangoHUD - Overlay for monitoring FPS, temperatures, CPU/GPU load and more
@@ -28,7 +14,7 @@ cat << EOF
  Debian and Ubuntu via the following package managers:
 
  - Flatpak: https://flathub.org/apps/org.prismlauncher.PrismLauncher
-    Provides sandboxing and ships Java versions and Qt versions automatically.
+    Provides sandboxing, but requires slightly more disk space.
     Works on all recent Debian and Ubuntu versions.
  - Nix: https://github.com/PrismLauncher/PrismLauncher/blob/develop/flake.nix
     Works on all recent Debian and Ubuntu versions.
@@ -39,9 +25,9 @@ cat << EOF
     Not guaranteed to work on all recent Debian and Ubuntu versions.
 
  This package is intended for use with KDE Plasma 6.x distributions such
- as KDE Neon 6 and future Kubuntu versions. If this package is not properly
- adapting to your KDE theme, consider using the \`prismlauncher-qt5\`
- package instead, or use the Flatpak.
+ as KDE Neon 6, Kubuntu 24.10, and future Debian versions. If this package
+ is not properly adapting to your KDE 5.x theme, consider using the
+ \`prismlauncher-qt5\` package instead, or use the Flatpak.
 
  Need help?