minecraft will do audio if openal is installed. The problem up until
Brad's 1.20.1 update is that minecraft would crash on startup about
50% of the time. So you'd start it again and it would be fine. With
the openal update, I tried it 8 times in a row without a crash. So,
let's add openal as a RUN_DEPENDS to get sound in the game by
default.
--Kurt
Index: Makefile
===================================================================
RCS file: /cvs/ports/games/minecraft/Makefile,v
retrieving revision 1.13
diff -u -p -r1.13 Makefile
--- Makefile 12 Jul 2019 20:46:21 -0000 1.13
+++ Makefile 30 Mar 2020 06:59:29 -0000
@@ -10,7 +10,7 @@ GH_PROJECT= minecraft
GH_ACCOUNT= qbit
GH_TAGNAME= ${GH_PROJECT}-${V}
DISTNAME= ${GH_TAGNAME}
-REVISION= 8
+REVISION= 9
CATEGORIES= games
@@ -23,7 +23,8 @@ MODJAVA_VER= 1.8+
# BSD
PERMIT_PACKAGE= Yes
-RUN_DEPENDS= devel/desktop-file-utils \
+RUN_DEPENDS= audio/openal \
+ devel/desktop-file-utils \
games/lwjgl \
java/javaPathHelper \
x11/gtk+3,-guic