aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorSamuel Young <samyoung12788@gmail.com>2023-11-16 10:15:35 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-16 12:03:18 +0700
commitf3e08b64e2de1f839ffd08c5fd27d94ab51f51d7 (patch)
tree4937e6186302ce21aaddf51948d74a4fc733c608 /games
parent02e37a47f77d44e3e78c24cc7bb0eca467db5637 (diff)
games/PrismLauncher: Updated for version 8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/PrismLauncher/PrismLauncher.SlackBuild4
-rw-r--r--games/PrismLauncher/PrismLauncher.info6
-rw-r--r--games/PrismLauncher/README9
3 files changed, 12 insertions, 7 deletions
diff --git a/games/PrismLauncher/PrismLauncher.SlackBuild b/games/PrismLauncher/PrismLauncher.SlackBuild
index d75cc175e9369..f4bcec873ae74 100644
--- a/games/PrismLauncher/PrismLauncher.SlackBuild
+++ b/games/PrismLauncher/PrismLauncher.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=PrismLauncher
-VERSION=${VERSION:-7.2}
+VERSION=${VERSION:-8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,6 +79,7 @@ find -L . \
mkdir -p build
cd build
cmake -S . -G Ninja \
+ -Wno-dev \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
@@ -86,6 +87,7 @@ cd build
-DMAN_INSTALL_DIR=/usr/man \
-DENABLE_LTO=ON \
-DLauncher_QT_VERSION_MAJOR="5" \
+ -DLauncher_BUILD_PLATFORM="slackware" \
-DCMAKE_BUILD_TYPE=Release ..
cmake --build .
DESTDIR=$PKG cmake --install .
diff --git a/games/PrismLauncher/PrismLauncher.info b/games/PrismLauncher/PrismLauncher.info
index d39f68da1c637..343a5d06d1f81 100644
--- a/games/PrismLauncher/PrismLauncher.info
+++ b/games/PrismLauncher/PrismLauncher.info
@@ -1,8 +1,8 @@
PRGNAM="PrismLauncher"
-VERSION="7.2"
+VERSION="8.0"
HOMEPAGE="https://prismlauncher.org"
-DOWNLOAD="https://github.com/PrismLauncher/PrismLauncher/releases/download/7.2/PrismLauncher-7.2.tar.gz"
-MD5SUM="57460d5e3506b2ab83b16808e1503268"
+DOWNLOAD="https://github.com/PrismLauncher/PrismLauncher/releases/download/8.0/PrismLauncher-8.0.tar.gz"
+MD5SUM="7844d066e3242396cd21fa46e5d8a47a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="OpenJDK17"
diff --git a/games/PrismLauncher/README b/games/PrismLauncher/README
index 7a7ed454307a0..f2a073bb3a52b 100644
--- a/games/PrismLauncher/README
+++ b/games/PrismLauncher/README
@@ -7,6 +7,9 @@ redistributability.
A Microsoft or Mojang account that owns Minecraft is required to
download and play the game through PrismLauncher.
-Other versions of Java may work, though it is recommended to compile
-PrismLauncher with OpenJDK17. Your JAVA_HOME environment variable
-determines which version of Java will be used.
+zulu-openjdk17 can be used instead of OpenJDK17, if one wishes to do
+so. If you plan on using a version of Minecraft that is on version
+1.16.5 or older, you will also have to install either openjdk8 or
+zulu-openjdk8. If you have multiple versions of Java installed on your
+system, make sure that your JAVA_HOME environment variable is pointed
+to OpenJDK17 when building PrismLauncher.