Browse Source
games/PrismLauncher: Updated for version 8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/210/head
Samuel Young
2 years ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with
12 additions and
7 deletions
-
games/PrismLauncher/PrismLauncher.SlackBuild
-
games/PrismLauncher/PrismLauncher.info
-
games/PrismLauncher/README
|
|
@ -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 . |
|
|
|
|
|
@ -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" |
|
|
|
|
|
@ -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. |