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: b0fa97caa201c92a41b064729edb6c898d43e58f

Message: update to 8.4 and use qt6 `prismlauncher-qt5` is made available for continued Qt5 support Signed-off-by: lordpipe <lordpipe@protonmail.com>

Diff


diff --git a/.SRCINFO b/.SRCINFO
index a2c033d..9f37764 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,22 @@
 generated-by = makedeb
 pkgname = prismlauncher
+postinst = postinst.sh
 pkgbase = prismlauncher
 pkgdesc = Minecraft launcher with ability to manage multiple instances.
 pkgrel = 1
-pkgver = 8.3
+pkgver = 8.4
 url = https://prismlauncher.org
 arch = i386
 arch = amd64
 arch = arm64
 arch = armhf
 arch = riscv64
-depends = libqt5svg5
-depends = qt5-image-formats-plugins
-depends = libqt5xml5
-depends = libqt5core5a
-depends = libqt5network5
-depends = libqt5gui5
+depends = libqt6svg6
+depends = qt6-image-formats-plugins
+depends = libqt6xml6
+depends = libqt6core6
+depends = libqt6network6
+depends = libqt6core5compat6
 license = GPL-3
 makedepends = scdoc
 makedepends = extra-cmake-modules
@@ -24,22 +25,22 @@ makedepends = git
 makedepends = openjdk-17-jdk
 makedepends = zlib1g-dev
 makedepends = libgl1-mesa-dev
-makedepends = qtbase5-dev
+makedepends = qt6-base-dev
 makedepends = qtchooser
-makedepends = qt5-qmake
-makedepends = qtbase5-dev-tools
+makedepends = libqt6core5compat6-dev
 makedepends = gcc
 makedepends = g++
 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 = 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.3/PrismLauncher-8.3.tar.gz
+source = https://github.com/PrismLauncher/PrismLauncher/releases/download/8.4/PrismLauncher-8.4.tar.gz
 source = gcc-armv7-fix.patch
 source = copyright
-sha256sums = 4d587122f673ee4daea5aa098bd3da0f51989dbb600560146dd8a0375491cea0
+sha256sums = a4df9059559df2e410ddf933e05fe4bffaa01631c6eeb55e63af4a2d0d719726
 sha256sums = 42394447d4b52c9329ff45f3c700c0eb2090a5803c5de010587d64294c37420f
 sha256sums = 55f14ca1c20ba05785b248b3454ce2671149112d6b7c1a4e4fd24f4dde8f4c71
 makedepends = scdoc
@@ -49,15 +50,15 @@ makedepends = git
 makedepends = openjdk-17-jdk
 makedepends = zlib1g-dev
 makedepends = libgl1-mesa-dev
-makedepends = qtbase5-dev
+makedepends = qt6-base-dev
 makedepends = qtchooser
-makedepends = qt5-qmake
-makedepends = qtbase5-dev-tools
+makedepends = libqt6core5compat6-dev
 makedepends = gcc
 makedepends = g++
 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 = 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 344ab13..b21769a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,30 @@
-# Maintainer: Sefa Eyeoglu <conctact@scrumplex.net>
+# Maintainer: lordpipe <lordpipe@protonmail.com>
+# Contributor: Sefa Eyeoglu <conctact@scrumplex.net>
 # Contributor: dada513 <dada513@protonmail.com>
-# Contributor: lordpipe <lordpipe@protonmail.com>
 
 pkgname=prismlauncher
-pkgver=8.3
+pkgver=8.4
 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=('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++')
+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++')
 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'
             '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')
 source=("https://github.com/PrismLauncher/PrismLauncher/releases/download/$pkgver/PrismLauncher-$pkgver.tar.gz"
         'gcc-armv7-fix.patch'
         'copyright')
-sha256sums=('4d587122f673ee4daea5aa098bd3da0f51989dbb600560146dd8a0375491cea0'
+sha256sums=('a4df9059559df2e410ddf933e05fe4bffaa01631c6eeb55e63af4a2d0d719726'
             '42394447d4b52c9329ff45f3c700c0eb2090a5803c5de010587d64294c37420f'
             '55f14ca1c20ba05785b248b3454ce2671149112d6b7c1a4e4fd24f4dde8f4c71')
+postinst=postinst.sh
 
 # allow for ARM support
 #TODO: makedeb's hard-coding for x86-64 has been fixed in a future makedeb version
@@ -40,16 +42,16 @@ CXXFLAGS=${CXXFLAGS/-fcf-protection/}
 if [[ ${CFLAGS} != *"-mtune"* && ${CFLAGS} != *"-march"* ]]; then
     case "$CARCH" in
         amd64)
-            CFLAGS+=" -march=x86-64 -mtune=generic -fcf-protection"
-            CXXFLAGS+=" -march=x86-64 -mtune=generic -fcf-protection"
+            CFLAGS+=" -march=x86-64 -fcf-protection"
+            CXXFLAGS+=" -march=x86-64 -fcf-protection"
             ;;
         i386)
-            CFLAGS+=" -march=i686 -mtune=generic"
-            CXXFLAGS+=" -march=i686 -mtune=generic"
+            CFLAGS+=" -march=i686"
+            CXXFLAGS+=" -march=i686"
             ;;
         arm64)
-            CFLAGS+=" -march=armv8-a -mtune=generic"
-            CXXFLAGS+=" -march=armv8-a -mtune=generic"
+            CFLAGS+=" -march=armv8-a"
+            CXXFLAGS+=" -march=armv8-a"
             ;;
         armhf)
             CFLAGS+=" -march=armv7-a+fp"
@@ -75,11 +77,10 @@ prepare() {
 
 build() {
     cd "${srcdir}/PrismLauncher-$pkgver"
-    cmake -DCMAKE_BUILD_TYPE=None \
+    cmake -DCMAKE_BUILD_TYPE=Debug \
           -DCMAKE_INSTALL_PREFIX="/usr" \
           -DLauncher_BUILD_PLATFORM="debian" \
           -DLauncher_APP_BINARY_NAME="${pkgname}" \
-          -DLauncher_QT_VERSION_MAJOR=5 \
           -DENABLE_LTO=ON \
           -Bbuild -S.
     cmake --build build
diff --git a/postinst.sh b/postinst.sh
new file mode 100755
index 0000000..97ee82a
--- /dev/null
+++ b/postinst.sh
@@ -0,0 +1,55 @@
+#!/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
+
+ 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
+   # apt install mangohud
+
+ Note that alternative distributions of PrismLauncher are also available for
+ 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.
+    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.
+ - AppImage and Portable: https://prismlauncher.org/download/linux/
+    Not guaranteed to work on all recent Debian and Ubuntu versions.
+ - Pi-Apps: https://pi-apps.io/wiki/getting-started/apps-list/
+    Optimized for older Raspberry Pis running Raspberry Pi OS
+    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.
+
+ Need help?
+
+ PrismLauncher Discord: https://discord.gg/ArX2nafFz2
+ PrismLauncher Matrix: https://matrix.to/\#/\#prismlauncher:matrix.org
+ PrismLauncher subreddit: https://www.reddit.com/r/PrismLauncher/
+
+ Bug reports: https://github.com/PrismLauncher/PrismLauncher/issues
+ Packaging bug reports: https://github.com/makedeb/prebuilt-mpr/issues
+*=============================================================================*
+EOF