The buildbot reported vice missing dependencies for libbsd.so.0,
libnet.so.9 and libusb-1.0.so.0. All three came from configure
autodetecting libraries that merely happened to be present in
staging_dir:
- The NETPLAY_LIBS probes run AC_CHECK_LIB(bsd/net/..., gethostbyname)
and AC_CHECK_LIB(bsd, gettimeofday). On musl these symbols live in
libc, so every probe spuriously succeeds for any of those libraries
that exists, appending -lbsd and -lnet.
- The USBSID-Pico path adds -lusb-1.0 to LIBS whenever
libusb-1.0/libusb.h is found; it is gated only by the unregistered
$enable_usbsid shell variable.
Force the offending cache variables off and set enable_usbsid=no, and
pin every remaining dependency-affecting knob to an explicit value so
nothing is auto-detected. Also disable --enable-arch, which defaults to
on and injects -march=native, wrong under cross-compilation.
Verified on x86_64: the binaries no longer link libbsd, libnet or
libusb and the package builds cleanly.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
A source port of DOOM to SDL3 (raydelto/sdl3_doom), the first real SDL3
application in the feed, replacing the orphaned sdl2-doom. It builds
against libsdl3 and libsdl3-mixer and plays authentic OPL FM music from
the IWAD's GENMIDI lump, needing no soundfont.
The upstream port targets an early SDL3_mixer prerelease (Mix_* API,
removed in SDL_mixer 3.2.0) and had dropped the OPL music backend. Carry
nine patches: port both audio backends to the track-based MIX_* API,
share a single mixer device, link the exported SDL3 CMake targets, build
the sound-effect module (FEATURE_SOUND), restore the Chocolate DOOM OPL
backend for native FM music, fix a pre-existing status-bar crash and drop
the stale SDL2_mixer cmake module. These are also suitable to submit
upstream.
https://github.com/raydelto/sdl3_doom
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Drop 100-fix-endian-detect-with-musl.patch: upstream rewrote the bundled
game-music-emu endian detection (the __GLIBC__ / <endian.h> block is
gone, now defaulting to little-endian), so the musl workaround is
obsolete. Verified gzdoom, the only consumer, still builds against the
updated library.
https://github.com/ZDoom/ZMusic/releases/tag/1.3.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Only LP64/LLP64 builds are officially supported. Please do not attempt
to build for other platforms; even if the program succeeds in a MAP01
smoke test, there are e.g. known visual artifacts that lead to a bad
user experience.
Still allow build on 32-bit platforms in case BROKEN is selected, so
users can try if it would work on their system as forum claims a fix
had actually been applied long ago.
Link: https://forum.zdoom.org/viewtopic.php?f=7&t=75673
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Install host-built binaries to STAGING_DIR_HOSTPKG as HOST_BUILD_DIR gets
cleared and should not be referenced after host build has completed.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Add GZDoom package which brings high-res 3D accelerated implementation
of the Doom engine with many extra features.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Add simple port to SDL2 of the classic DOOM engine.
Works fine on Wayland without requiring any 3D hardware acceleration.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>