Thanks in advance for anyone with insight here.
I'm making a custom build of LibreELEC to incorporate some features from the Kodi RetroPlayer branch. The build is working fine but I have an issue when compiling the game.libretro addon. I'm using the 10.0.0 branch of LibreELEC. The package file for game.libretro states that it's pulling the 19.0.0 release, which has a version number of 19.0.0 in theaddon.xml file. When I build the package, both with the make image command for a full image, or using create_addon game.libretro; the project builds but has 19.0.0.3 as the version number in the addon.xml file.
I've confirmed in the build directory that it's pulling the right files and building the right project. For some reason the final files have that weird version number though. This wouldn't generally be an issue but Kodi doesn't like that version number as it has too many digits. I've manually changed it back and things work fine in the build but it's really bothering me why the .3 is being added. As a test I tried to build the pvr.mythtv addon as well an noticed it added a .1 to the end of that version.
Any insight into why this might be happening? I can provide more info if needed. I think I've linked to the relevant files.