The Lightweight Java Game Library (LWJGL) is a Java library that enables
cross-platform access to popular native APIs useful in the development
of graphics (OpenGL, Vulkan), audio (OpenAL) and parallel computing
(OpenCL) applications. This access is direct and high-performance, yet
also wrapped in a type-safe and user-friendly layer, appropriate for the
Java ecosystem.
LWJGL is an enabling technology and provides low-level access. It is not
a framework and does not provide higher-level utilities than what the
native libraries expose. As such, novice programmers are encouraged to
try one of the frameworks or game engines that make use of LWJGL, before
working directly with the library.
LWJGL is open source software and freely available at no charge.
games/lwjgl3: Unbreak after update lang/kotlin to 2.3.0
Since Kotlin 2.3.0, Ant support has been removed, but lwjgl3 has complex
long ongoing migration story from Ant to Gradle.
Depends on new port lang/kotlin22 with Kotlin 2.2.21. Hopefully after
migration the port may be removed.
While here improve port:
- Fix warnings from portclippy.
- Optimize do-install goal.
- Refresh patches.
PR: 292099
Mk/Uses/java.mk: Runtime fix with USES=java:ant
USES=java:ant does not imply USES=java:run so we need to add the run arg
seperately when we are using USES=java:ant. Not all ports require the
the argument so it is better to address the ports individually instead
of handling it automatically by implying run for ant.
Thanks to vvd for carefully going through this.
Reported by: vvd
Approved by: portmgr (blanket)
Mk/**java.mk: Convert bsd.java.mk to USES
The following features have been added or changed:
- Instead of USE_JAVA use USES=java. This defaults to
USES=java:build,run if NO_BUILD is undefined. Else it defaults to
USES=java:run
- Instead of USE_ANT=yes use USES=java:ant which also implies
USES=java:build
- Instead of JAVA_BUILD=yes use USES=java:build. Does not imply run or
extract
- Instead of JAVA_EXTRACT=yes use USES=java:extract does not imply
build or run
- Instead of JAVA_RUN=yes use USES=java:run does not imply extract or
build
- Instead of USE_JAVA=<version> use USES=java and JAVA_VERSION=<version>
Approved by: mat (portmgr), glewis
Differential Revision: https://reviews.freebsd.org/D48201
games/lwjgl3: update to 3.3.4.20231218
This port required for games/minecraft-client (Java Minecraft Client)
1.20.x run on FreeBSD without linux compatibility layer.
Upstream support FreeBSD on amd64 only, but on linux they support
i386, arm* and ppc* too - if somebody can and want to add support
for other arches - welcome.
PR: 275279269879269900
Approved by: arrowd (mentor)
Differential Revision: https://reviews.freebsd.org/D44263