Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: UPDATE: emulators/melonds 1.0 -> 1.1
To:
izzy Meyer <izder456@disroot.org>
Cc:
ports@openbsd.org
Date:
Tue, 18 Nov 2025 22:35:37 +0100

Download raw body.

Thread
On Tue, Nov 18, 2025 at 02:14:17PM -0600, izzy Meyer wrote:
> Okay, sorry, I kept messing up while generating the diff. This should
> work fine now. Apologies for all the troubles.

There is a hidden lib dependency on audio/faad.
With that fixed it packages fine for me.

Tested briefly at run-time and it seems fine.

Having the JIT enabled helps greatly with some games. It leaves enough
headroom to allow for 60 fps with OpenGL 4x upscaling on my machine,
which makes these old games look gorgeous.
The JIT is unstable with other games and homebrew (stalls/crashes).
But that should not be OpenBSD-specific. In all cases I have seen
affected software runs fine while the JIT is disabled.

Trivial diff for audio/faad on top of yours. I would commit this,
but I will leave it some more time in case anyone else has feedback.

M  emulators/melonds/Makefile  |  2+  1-

1 file changed, 2 insertions(+), 1 deletion(-)

commit - 1822ff3eec1f9d6dff5153de30a1c73501eae7fc
commit + ded5feab8f8a34ef2451efe26d23a32f3dcb8b3f
blob - d79eaf92682eefbe9197e5c79fb87315b4a4a824
blob + 70cf7a60c2bba1963a932d796856ef3dfb77caa6
--- emulators/melonds/Makefile
+++ emulators/melonds/Makefile
@@ -20,13 +20,14 @@ COMPILER =	base-clang ports-gcc
 
 WANTLIB += ${COMPILER_LIBCXX} EGL GL ICE Qt6Core Qt6Gui Qt6Multimedia
 WANTLIB += Qt6Network Qt6OpenGL Qt6OpenGLWidgets Qt6Widgets SDL2
-WANTLIB += SM X11 Xext archive c enet glib-2.0 intl m slirp zstd
+WANTLIB += SM X11 Xext archive c enet glib-2.0 intl m slirp zstd faad
 
 # dlopen'd
 WANTLIB += wayland-egl
 
 MODULES =	devel/cmake
 LIB_DEPENDS =	archivers/libarchive \
+		audio/faad \
 		devel/sdl2 \
 		net/enet \
 		net/libslirp \