13 Commits
Author SHA1 Message Date
Daniel Golle a022f83b56 vice: explicitly pin all configure knobs to fix missing library deps
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>
2026-06-11 17:40:40 +01:00
Daniel Golle b59c3b510d sdl2-doom: drop in favour of sdl3-doom
The orphaned sdl2-doom port is superseded by sdl3-doom, which targets SDL3 directly.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-06-11 17:09:25 +01:00
Daniel Golle ed0ecdeb13 sdl3-doom: add SDL3 Doom
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>
2026-06-11 17:09:25 +01:00
Daniel Golle c04292defd zmusic: update to version 1.3.0
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>
2026-06-11 00:32:34 +01:00
Daniel Golle d6cd95b81b vice: add package
Package the VICE Commodore emulator 3.10, built against SDL2 with ALSA
sound output.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-06-09 13:57:05 +01:00
Daniel Golle 74064afe42 gzdoom: update to 4.14.2
Fix PKG_LICENSE
Optionally use OpenAL for game audio

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-07-14 22:00:33 +01:00
Daniel Golle f3f70b11b7 sdl2-doom: use updated fork
Use an updated fork of sdl2-doom which fixes compiler errors when
using recent GCC.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-05-03 04:41:11 +01:00
Daniel Golle c23446c720 gzdoom: update to 4.13.2
Update to new release.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-20 20:59:48 +00:00
Daniel Golle 8add6bc3b6 gzdoom: only build for 64-bit architectures
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>
2024-12-09 03:33:13 +00:00
Daniel Golle 1025032ab8 gzdoom: stage host binaries
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>
2024-12-07 21:57:43 +00:00
Daniel Golle 75c1338131 zmusic: fix target endian detection
Use __BYTE_ORDER macro when ever it is defined and not just when using
glibc.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-12-06 18:54:43 +00:00
Daniel Golle c8a831f4a1 gzdoom: add package
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>
2024-12-05 01:26:26 +00:00
Daniel Golle 748651ce07 sdl2-doom: add package
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>
2024-12-05 01:20:09 +00:00