libmpq is a much simpler alternative to StormLib for reading MPQ archives. We use our own fork of libmpq: https://github.com/diasurgical/libmpq Impact: * DevilutionX is now a lot more portable. Unlike StormLib, libmpq only needs platform-specific code for Windows. * Locks around file access **removed** (instead we duplicate the file descriptor for streamed audio only). * RAM usage is **300 KiB** lower than StormLib. * Stripped release linux_x86_64 binary is **32 KiB** smaller. * Amiga build now hangs instead of crashing.
35 lines
949 B
JSON
35 lines
949 B
JSON
{
|
|
"name": "devilutionx",
|
|
"version-string": "1.3.0",
|
|
"dependencies": [
|
|
"fmt",
|
|
"bzip2"
|
|
],
|
|
"features": {
|
|
"sdl1": {
|
|
"description": "Use SDL1.2 instead of SDL2",
|
|
"dependencies": [ "sdl1", "libpng" ]
|
|
},
|
|
"sdl2": {
|
|
"description": "Use SDL2",
|
|
"dependencies": [ "sdl2", "sdl2-image" ]
|
|
},
|
|
"encryption": {
|
|
"description": "Build libsodium for packet encryption",
|
|
"dependencies": [ "libsodium" ]
|
|
},
|
|
"translations": {
|
|
"description": "Build translation files",
|
|
"dependencies": [
|
|
{
|
|
"name": "gettext",
|
|
"features": [ "tools" ]
|
|
}
|
|
]
|
|
},
|
|
"tests": {
|
|
"description": "Build tests",
|
|
"dependencies": [ "gtest" ]
|
|
}
|
|
}
|
|
}
|