Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142600937
D44661.id136647.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D44661.id136647.diff
View Options
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
+
+RUN_DEPENDS= lwjgl>0:games/lwjgl \
+ xrandr>0:x11/xrandr
+LIB_DEPENDS= libcmark.so:textproc/cmark \
+ libquazip1-qt6.so:archivers/quazip@qt6 \
+ libtomlplusplus.so:devel/tomlplusplus
+
+USES= cmake compiler:c++17-lang desktop-file-utils gl kde:6 openal qt:6 shared-mime-info
+
+USE_GL= opengl
+USE_KDE= ecm:build
+USE_JAVA= yes
+JAVA_VERSION= 8+
+USE_QT= 5compat base
+
+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
+
+.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,30 @@
+[
+{
+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 to the Java arguments section.
+
+This port installs openjdk8 and LWJGL2 by default.
+To play newer versions like 1.12, 1.17 you can install
+newer versions of both additionally.
+
+NVIDIA users have probably to add the following to the
+environment variables section:
+
+LD_LIBMAP libGLX.so libGL-NVIDIA.so
+ libGLX.so.0 libGL-NVIDIA.so.1
+
+For older cards that dont support OpenGL 4
+you have to add the following to the environment variables section:
+
+MESA_GL_VERSION_OVERRIDE 3.2
+MESA_GLSL_VERSION_OVERRIDE 330
+
+There is currently an problem regarding GLFW and LWJGL3
+this is getting resolved at https://reviews.freebsd.org/D44490.
+EOM
+}
+]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 22, 10:15 AM (8 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27841254
Default Alt Text
D44661.id136647.diff (3 KB)
Attached To
Mode
D44661: [new port] games/prismlauncher: Minecraft launcher with ability to manage multiple instances
Attached
Detach File
Event Timeline
Log In to Comment