Found that the *makefile* has stopped working on the latest version of Flatpak 1.3.1 & Flatpak-builder 1.0.6.
It appears that the Runtime and Sdk are missing a / from their install paths, not sure at which point this change crept into Flatpak so it may effect earlier versions.
This causes the user to be prompted which version of the Runtime to install (1.6 or 18.08) choosing either would cause the build to fail (Savage XR wont work under 18.08 anyway, only 1.6).
Runtime 1.6 & Sdk 1.6 are supposed to be auto installed and adding the missing slash / into the install path makes the makefile run as expected:
flatpak --user install flathub org.freedesktop.Platform/i386 1.6
flatpak --user install flathub org.freedesktop.Sdk/i386 1.6
flatpak --user install flathub org.freedesktop.Platform/i386/1.6
flatpak --user install flathub org.freedesktop.Sdk/i386/1.6
So have updated the makefile and tested successfully against:
* Flatpak 1.0.6 & Flatpak-builder 1.0.5
* Flatpak 1.3.1 Flatpak-builder 1.0.6
Have merged the changes and tagged:
* BUG-003: When running make the Flatpak runtime Platform and Sdk install path are not working on latest version of Flatpak (1.3.1 & builder 1.0.6), causing the user to be prompted with which version to install (1.6 or 18.08). Choosing either make it fail. The paths were missing a forward slash / in the correct location.
And Version 0.8.0 can be located here: