There is an updated pull request by chloris-pale-green against master on the void-packages repository https://github.com/chloris-pale-green/void-packages devilutionx https://github.com/void-linux/void-packages/pull/39184 devilutionX: update to 1.4.1. Updated the package since the packaged version was released more than a year ago. For the most recent release, the template had to be changed for the build to succeed. See notes below. **Cross builds seem to fail.** See notes below. Help is welcome. #### Testing the changes - I tested the changes in this PR: **YES** #### Local build testing - I built this PR locally for my native architecture, (x86_64) - I built this PR locally for these architectures (if supported. mark crossbuilds): - aarch64 (cross, **failed**) - armv6l (cross, **failed**), - x86_64-musl (masterdir) #### Template changes - Add devel dependencies so that more libs from the repos get dynamically linked instead of built and linked statically. - Add host dependencies needed for the build process by trial and error. - Upstream uses `smpq` to create a MPQ archive with game assets. Manually use `mpqtool` from Void repos. If the assets are not in a MPQ archive, the game expects them in something like `/usr/bin/assets`, which is not acceptable. - Install process did nothing, even when manually calling `cmake --install`. The installation is not complicated so I've created an alternative install script. #### Failing cross builds Both `aarch64` and `armv6l` crossbuilds fail with the same error: ``` => devilutionX-1.4.1_1: running do_build ... ninja: error: '/usr/lib64/libSDL2main.a', needed by 'devilutionx', missing and no known rule to make it ``` Additionally, when I've tried to move `devel` deps to `hostmakedepends`, the build failed because the binary could not be stripped. I suspect that the build process does not cross-compile, but builds for the host arch instead (looking for libraries in `/usr/lib64` on `armv6l` is suspicious enough). Perhaps some additional arguments for Cmake are required. A patch file from https://github.com/void-linux/void-packages/pull/39184.patch is attached