Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2024 00:37:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 280958] emulators/mednafen: update to 1.32.1 and consolidate port
Message-ID:  <bug-280958-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280958

            Bug ID: 280958
           Summary: emulators/mednafen: update to 1.32.1 and consolidate
                    port
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://mednafen.github.io/documentation/ChangeLog.txt
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm@FreeBSD.org
          Reporter: bsdcode@disroot.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org

Created attachment 252968
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252968&action=
=3Dedit
update emulators/mednafen

While updating the port I realized some obsolete parts in the port which gi=
ve
opportunity for improvements.

Aside from general cleanups in the LIB_DEPENDS, USES, USE_*, OPTIONS_* and
*_DESC sections, some patches are not needed anymore. Especially everything
relating to Joystick can be dropped, because it's now handled correctly
upstream.

Most bundled libraries are available in the ports tree, so I used these (see
CONFIGURE_ARGS+=3D --with-external-*). Special attention to audio/libtremor=
: it
got removed last year from the ports tree. I used the drop-in replacement
libvorbisfile.so:audio/libvorbis and applied some patches so mednafen actua=
lly
uses it as replacement instead of tremor.

I added ALSA to the audio options, enabled by default. ALSA is the prioriti=
zed
backend upstream, so when ALSA support is compiled in it will be used inste=
ad
of the OSS backend with the default "sound.driver default" setting in
mednafen.cfg. I added a patch to set "sound.device sexyal-literal-default" =
by
default in mednafen.cfg, because "sound.device default" tries to use "hw:0"=
 for
the ALSA device which is not available on FreeBSD. "sexyal-literal-default"
uses the true default value, which is "pcm.default" under the hood I assume=
. So
this patch ensures users have working audio right from the start without
searching and fiddling around with the configuration file.


Changelog:
https://mednafen.github.io/documentation/ChangeLog.txt

Port changes:
  * consolidate LIB_DEPENDS, USES, USE_*, OPTIONS_*, *_DESC and patches
  * unbundle external libraries
  * ALSA: add support, enabled by default
  * DOCS: install complete documentation
  * SS: remove hardcoded -mtune=3Dhaswell
  * pkg-message: add OSS section
  * pet portclippy(1), portfmt(1)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-280958-7788>