Add audio/openal to games/minecraft RUN_DEPENDS

2020-03-30 Thread Kurt Mosiejczuk
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
--- Makefile12 Jul 2019 20:46:21 -  1.13
+++ Makefile30 Mar 2020 06:59:29 -
@@ -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



Re: Add audio/openal to games/minecraft RUN_DEPENDS

2020-03-30 Thread Kurt Mosiejczuk
On Mon, Mar 30, 2020 at 03:02:06AM -0400, Kurt Mosiejczuk wrote:
> 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.

(As you might have guessed. It crashed the ninth try, after I sent
this email. Still, it's never crashed for Pamela and allows sound.)

--Kurt