Page MenuHomeFreeBSD

D44661.id136626.diff
No OneTemporary

D44661.id136626.diff

diff --git a/games/Makefile b/games/Makefile
--- a/games/Makefile
+++ b/games/Makefile
@@ -791,6 +791,7 @@
SUBDIR += prboom
SUBDIR += prboom-plus
SUBDIR += primateplunge
+ SUBDIR += prismlauncher
SUBDIR += puckman
SUBDIR += punchy
SUBDIR += pvpgn
diff --git a/games/prismlauncher/Makefile b/games/prismlauncher/Makefile
new file mode 100644
--- /dev/null
+++ b/games/prismlauncher/Makefile
@@ -0,0 +1,44 @@
+PORTNAME= prismLauncher
+DISTVERSION= 8.2
+CATEGORIES= games java
+
+MAINTAINER= Alexander88207@protonmail.com
+COMMENT= Minecraft launcher with ability to manage multiple instances
+WWW= https://prismlauncher.org/
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/COPYING.md
+
+BUILD_DEPENDS= kf6-extra-cmake-modules>0:devel/kf6-extra-cmake-modules \
+ tomlplusplus>0:devel/tomlplusplus
+RUN_DEPENDS= lwjgl>0:games/lwjgl
+
+USES= cmake compiler:c++17-lang desktop-file-utils gl pkgconfig qt:6 xorg
+
+USE_GL= opengl
+USE_JAVA= yes
+JAVA_VERSION= 8+
+USE_QT= 5compat base
+USE_XORG= xrandr
+
+USE_GITHUB= yes
+GH_ACCOUNT= PrismLauncher
+GH_PROJECT= PrismLauncher
+
+GH_TUPLE= gulrak:filesystem:2fc4b463:filesystem/libraries/filesystem \
+ PrismLauncher:libnbtplusplus:23b95512:libnbtplusplus/libraries/libnbtplusplus
+
+PLIST_FILES= bin/prismlauncher \
+ share/applications/org.prismlauncher.PrismLauncher.desktop \
+ share/icons/hicolor/scalable/apps/org.prismlauncher.PrismLauncher.svg \
+ share/metainfo/org.prismlauncher.PrismLauncher.metainfo.xml \
+ share/mime/packages/modrinth-mrpack-mime.xml \
+ share/PrismLauncher/JavaCheck.jar \
+ share/PrismLauncher/NewLaunch.jar \
+ share/PrismLauncher/NewLaunchLegacy.jar \
+ share/PrismLauncher/qtlogging.ini \
+ share/qlogging-categories6/prismlauncher.categories
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/games/prismlauncher/distinfo b/games/prismlauncher/distinfo
new file mode 100644
--- /dev/null
+++ b/games/prismlauncher/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1712433424
+SHA256 (PrismLauncher-PrismLauncher-8.2_GH0.tar.gz) = f1136d818a9a4eb842771096921142740a3e78dba061f8a0d278f6b3b4630b7f
+SIZE (PrismLauncher-PrismLauncher-8.2_GH0.tar.gz) = 4392199
+SHA256 (gulrak-filesystem-2fc4b463_GH0.tar.gz) = 270eead1276da3af72e6f1c5b819d0b2a7b24ddc3e4e7a1a0b69ffba8d07228f
+SIZE (gulrak-filesystem-2fc4b463_GH0.tar.gz) = 211853
+SHA256 (PrismLauncher-libnbtplusplus-23b95512_GH0.tar.gz) = 4393bc210d2025029fc364d761d339c88223a3cdd03b401ebee58d5e3cddb4dc
+SIZE (PrismLauncher-libnbtplusplus-23b95512_GH0.tar.gz) = 48603
diff --git a/games/prismlauncher/pkg-descr b/games/prismlauncher/pkg-descr
new file mode 100644
--- /dev/null
+++ b/games/prismlauncher/pkg-descr
@@ -0,0 +1,2 @@
+A custom launcher for Minecraft that allows you to easily manage
+multiple installations of Minecraft at once. (Fork of MultiMC)
diff --git a/games/prismlauncher/pkg-message b/games/prismlauncher/pkg-message
new file mode 100644
--- /dev/null
+++ b/games/prismlauncher/pkg-message
@@ -0,0 +1,17 @@
+[
+{
+message: <<EOM
+Please note that you have to change the openjdk and LWJGL version
+manually depending on which version of the game you use.
+
+To set the version for LWJGL2 as example
+you have to add -Dorg.lwjgl.librarypath=/usr/local/lib/lwjgl in the Java arguments.
+
+This port installs openjdk8 and LWJGL2 by default, to player newer version than 1.12, 1.17
+you can install newer versions additionally.
+
+There is currently an problem regarding GLFW and LWJGL3
+this is getting resolved at https://reviews.freebsd.org/D44490.
+EOM
+}
+]

File Metadata

Mime Type
text/plain
Expires
Thu, Nov 20, 6:35 AM (13 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25712408
Default Alt Text
D44661.id136626.diff (3 KB)

Event Timeline