I've noticed that on newer version of Meson, dependendant packages like iir and mt32emu are no longer built and linked statically. Instead, they're created and then installed as dynamic libraries. The installation goes to $md_inst/lib/<host-triplet>, so the resulting binary doesn't work out-of-the-box, but the more important issue is that the libmt32emu library is not copied. As a result, dosbox will not be able to run on such a system.
The issue above doesn't seem to affect the RaspiOS (32/64bit) builds, but I had it happening on Debian Trixie (testing) and a recent Armbian Jammy 22.04 for OrangePi 5.
To make sure the above issue doesn't happen, link the iir and mt32emu libraries statically. They're always downloaded and built via Meson wraps, since there are no Debian packages for them.
Updated the dependency list so that:
libslirp and fluidsynth (v2) are installed on Bullseye or newer Debian, so they're not built via Meson wraps
sdl2-image-dev is not needed by dosbox-staging anymore.
I've noticed that on newer version of Meson, dependendant packages like
iir
andmt32emu
are no longer built and linked statically. Instead, they're created and then installed as dynamic libraries. The installation goes to$md_inst/lib/<host-triplet>
, so the resulting binary doesn't work out-of-the-box, but the more important issue is that thelibmt32emu
library is not copied. As a result,dosbox
will not be able to run on such a system.The issue above doesn't seem to affect the RaspiOS (32/64bit) builds, but I had it happening on Debian Trixie (testing) and a recent Armbian Jammy 22.04 for OrangePi 5.
To make sure the above issue doesn't happen, link the
iir
andmt32emu
libraries statically. They're always downloaded and built via Meson wraps, since there are no Debian packages for them.Updated the dependency list so that:
libslirp
andfluidsynth
(v2) are installed on Bullseye or newer Debian, so they're not built via Meson wrapssdl2-image-dev
is not needed bydosbox-staging
anymore.zlib
as an explicit dependency